search for: enoexec

Displaying 20 results from an estimated 38 matches for "enoexec".

Did you mean: noexec
2023 Mar 22
3
[libnbd PATCH v4 0/2] lib/utils: introduce async-signal-safe execvpe()
...realpath, so I've filed it: > https://bugs.busybox.net/show_bug.cgi?id=15466 I've found another busybox bug. The "/bin/sh" utility is provided by busybox as well (via the usual symlinking). Per POSIX, if execvp(file, { argv[0], argv[1], ..., NULL }) were to fail with -1/ENOEXEC, then execvp() must retry "as if" with execv(<shell path>, { argv[0], file, argv[1], ..., NULL }) In other words, if direct execution of "file" failed because "file" "has the appropriate access permission but has an unrecognized format", then execvp...
2023 Mar 22
2
[libnbd PATCH v4 0/2] lib/utils: introduce async-signal-safe execvpe()
....busybox.net/show_bug.cgi?id=15466 > > I've found another busybox bug. > > The "/bin/sh" utility is provided by busybox as well (via the usual symlinking). > > Per POSIX, if > > execvp(file, { argv[0], argv[1], ..., NULL }) > > were to fail with -1/ENOEXEC, then execvp() must retry "as if" with > > execv(<shell path>, { argv[0], file, argv[1], ..., NULL }) > > In other words, if direct execution of "file" failed because "file" "has the appropriate access permission but has an unrecognized forma...
2023 Mar 21
2
[libnbd PATCH v4 0/2] lib/utils: introduce async-signal-safe execvpe()
On Tue, Mar 21, 2023 at 03:56:22PM +0100, Laszlo Ersek wrote: > > $ podman build -f ci/containers/alpine-edge.Dockerfile -t libnbd-alpine-edge > > $ podman run -it --rm --userns=keep-id -v .:/repo:z -w /repo libnbd-alpine-edge bash > > $ ./configure > > $ make check > > $ grep tmpd= lib/test-suite.log > > + tmpd=/tmp/tmp.EMgKeF > > $ /tmp/tmp.EMgKeF/bin/f
2023 Mar 19
3
[libnbd PATCH v4 0/2] lib/utils: introduce async-signal-safe execvpe()
...on> is seen), and (b) that > -+# nbd_internal_fork_safe_execvpe() succeeds for the *last* candidate. Repeat the > -+# test with "expr" (called "f" under "bin") and the shell script (called "f" > -+# under "sh", triggering the ENOEXEC branch). > ++# Put a single prefix in PATH, such that it leads to a successful execution. > ++# This exercises two things at the same time: (a) that > ++# nbd_internal_execvpe_init() produces *one* candidate (i.e., that no <colon> is > ++# seen), and (b) that nbd_i...
2011 Jun 04
1
syslinux-4.04 doesn't compile
...9;ve just tried to compile syslinux 4.04 for slackware - it stopped when it tried to execute Entering directory `/path/to/diag/geodsp' ./mk-lba-img lba.img "strace" shows execve("./mk-lba-img", ["./mk-lba-img", "lba.img"], [/* 49 vars */]) = - 1 ENOEXEC (Exec format error) dup(2) = 3 fcntl64(3, F_GETFL) = 0x8001 (flags O_WRONLY|O_LARGEFILE) close(3) = 0 write(2, "strace: exec: Exec format error\n"..., 32strace: exec: Exec format error ) = 32 exit_group(1)...
2018 May 23
0
[PATCH v3 23/27] x86/modules: Adapt module loading for PIE support
...got")) { + mod->arch.core.got = sechdrs + i; + } else if (sechdrs[i].sh_type == SHT_SYMTAB) { + symtab = sechdrs + i; + syms = (Elf64_Sym *)symtab->sh_addr; + } + } + + if (!mod->arch.core.got) { + pr_err("%s: module GOT section missing\n", mod->name); + return -ENOEXEC; + } + if (!syms) { + pr_err("%s: module symtab section missing\n", mod->name); + return -ENOEXEC; + } + + for (i = 0; i < ehdr->e_shnum; i++) { + Elf64_Rela *rels = (void *)ehdr + sechdrs[i].sh_offset; + int numrels = sechdrs[i].sh_size / sizeof(Elf64_Rela); + + if (sechdrs...
2006 Mar 09
2
Edge Rails Webrick Problem
...causing the following error. Is there something in my existing rails dir that I might need to update? Thanks in advance for any help. ./script/../config/../vendor/rails/activesupport/lib/active_support/core _ext/kernel/agnostics.rb:7:in ``'': Exec format error - rake tmp:create (Errno::ENOEXEC) from ./script/../config/../vendor/rails/activesupport/lib/active_support/core _ext/kernel/agnostics.rb:7:in ``'' from ./script/../config/../vendor/rails/railties/lib/commands/server.rb:28 from ./script/../config/../vendor/rails/railties/lib/commands/server.rb:28:in `silence_stderr'&...
2006 Mar 04
29
Getting RJS / EgdeRails working
Hi, using Rails 1.0 on windows (without svn yet) I just wrote "rake freeze_edge". Are the RJS-templates already included then ? When I write "rake update_javascripts" I receive this error: svn: ''.'' is not a working copy Any tipps for a newbie on how to get the update done (if neccessary) ? thx Jan
2023 Mar 22
3
[libnbd PATCH 0/3] reenable execvpe unit testing in Alpine Linux containers
These patches have been pushed (f5a065aa3a9c..9075f68ffc8b); I'm posting them for visibility. Laszlo Laszlo Ersek (3): lib/test-fork-safe-execvpe.sh: generalize "run" to "run0" lib/test-fork-safe-execvpe.sh: cope with Alpine Linux / BusyBox limitations Revert "ci: skip "lib/test-fork-safe-execvpe.sh" on Alpine Linux" ci/skipped_tests
2006 Jun 27
5
script/server mongrel on windows
Supposedly the latest edge rail supports mongrel via script/server. I have mogrel all installed and working when called via: mongrel_rails service::start -N mw_dev_server However when I do: ruby script/server mongrel I get: PROBLEM: Mongrel is not available on your system (or not in your path) Upon further investigation, it appears that mongrel prevents itself from loading on
2023 Mar 22
1
[libnbd PATCH v4 0/2] lib/utils: introduce async-signal-safe execvpe()
....busybox.net/show_bug.cgi?id=15466 > > I've found another busybox bug. > > The "/bin/sh" utility is provided by busybox as well (via the usual symlinking). > > Per POSIX, if > > execvp(file, { argv[0], argv[1], ..., NULL }) > > were to fail with -1/ENOEXEC, then execvp() must retry "as if" with > > execv(<shell path>, { argv[0], file, argv[1], ..., NULL }) > > In other words, if direct execution of "file" failed because "file" "has the appropriate access permission but has an unrecognized forma...
2006 Mar 07
12
Edge Rails doesn''t work for my app
...e" but after, I can no longer boot up webrick. I''m on Win Xp MySql backend and this is what I get => Booting WEBrick... ./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/ker nel/agnostics.rb:7:in ``'': Exec format error - rake tmp:create (Errno::ENOEXEC) from ./script/../config/../vendor/rails/activesupport/lib/active_support /core_ext/kernel/agnostics.rb:7:in ``'' from ./script/../config/../vendor/rails/railties/lib/commands/server.rb: 28 from ./script/../config/../vendor/rails/railties/lib/commands/server.rb: 28:i...
2007 Nov 20
7
how to configure mongrel_cluster in windows
hi, how to configure mongrel_cluster in windows. mongrel_rails cluster::configure -e development -p 3000 -N 2 i have used this one its configured correctly then if i start the server it is throwing error.if any one knows how to configure help me with regards shiva -- Posted via http://www.ruby-forum.com/.
2009 Apr 10
0
Error running server: Exec format error - packet_worker_runner
...ations/rubystack-1.4-beta-1/ruby/lib/ruby/gems/1.8/gems/packet-0.1.14/lib/packet/packet_master.rb:116:in `exec'': Exec format error - packet_worker_runner 7:6:log_worker:17:/Volumes/DATA/development/rails/sched/lib/workers:/Volumes/DATA/development/rails/sched/script/load_worker_env (Errno::ENOEXEC) >> from /Applications/rubystack-1.4-beta-1/ruby/lib/ruby/gems/1.8/gems/packet-0.1.14/lib/packet/packet_master.rb:116:in `fork_and_load'' >> from /Applications/rubystack-1.4-beta-1/ruby/lib/ruby/gems/1.8/gems/packet-0.1.14/lib/packet/packet_master.rb:80:in `start_worker...
2006 Mar 12
1
Error when starting webrick with "ruby script\server"
I went through the guide located here: when I try to start up the Webrick server, I get this error: => Booting WEBrick... ./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb:7:in ``'': Exec format error - rake tmp:create (Errno::ENOEXEC) from ./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb:7:in ``'' from ./script/../config/../vendor/rails/railties/lib/commands/server.rb:28 from ./script/../config/../vendor/rails/railties/lib/commands/server.rb:28:...
2006 Nov 28
0
"Exec format error" (Windows)
...uster::start Starting 10 Mongrel servers... c:/ruby/lib/ruby/gems/1.8/gems/mongrel_cluster-0.2.1/lib/mongrel_cluster/init.rb:53:in ``'': Exec format error - mongrel_rails start -d -e production -p 8000 -a 127.0.0.1 -l log/mongrel.log -P log/mongrel.8000.pid -c c:/railstest -r public (Errno::ENOEXEC) from c:/ruby/lib/ruby/gems/1.8/gems/mongrel_cluster-0.2.1/lib/mongrel_cluster/init.rb:53:in `start'' from c:/ruby/lib/ruby/gems/1.8/gems/mongrel_cluster-0.2.1/lib/mongrel_cluster/init.rb:31:in `upto'' from c:/ruby/lib/ruby/gems/1.8/gems/mongrel_cluster-0.2.1...
2023 Mar 22
1
[libnbd PATCH v4 0/2] lib/utils: introduce async-signal-safe execvpe()
...3a32e0a6a3d352b (tag: cvs/libc-960210) > Author: Roland McGrath <roland at gnu.org> > Date: Sat Feb 10 10:00:27 1996 +0000 > > Sat Feb 10 04:18:48 1996 Roland McGrath <roland at churchy.gnu.ai.mit.edu> > > * posix/execvp.c: If execv fails with ENOEXEC, run the shell on > the file. > > Fri Feb 9 11:46:45 1996 Roland McGrath <roland at churchy.gnu.ai.mit.edu> > > * time/Makefile (CFLAGS-zdump.c, CFLAGS-zic.c, CFLAGS-ialloc.c, > CFLAGS-scheck.c): Use -DNOID instead of -Wno...
2006 Mar 09
16
Preloading child rows 2 levels deep?
I currently have 3 tables/models: 1) Clients, 2) Charges, and 3) Court_Dates. Clients 1..n Charges 1..n Court_Dates I am trying to find all clients that have a court_date on a certain day: something along the lines of (@client.charge.court_date.date == Date.today). I have had success preloading child rows using the :include parameter, but that only works with a parent and a child, or a
2004 Oct 19
1
include insmod in klibc?
...long init_module(void *, unsigned long, const char *); static void print_usage(const char *progname) { fprintf(stderr, "Usage: %s filename [args]\n", progname); exit(1); } /* We use error numbers in a loose translation... */ static const char *moderror(int err) { switch (err) { case ENOEXEC: return "Invalid module format"; case ENOENT: return "Unknown symbol in module"; case ESRCH: return "Module has wrong symbol version"; case EINVAL: return "Invalid parameters"; default: return strerror(err); } } static void *grab_file(const ch...
2006 Mar 07
4
Edge Rails - same code, different issues on mac and windows
...oth console/error outputs listed below: I can''t even get WEBrick to start on windows (mac to follow): => Booting WEBrick... ./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb:7:i n ``'': Exec format error - rake tmp:create (Errno::ENOEXEC) from ./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/kernel/agn ostics.rb:7:in ``'' from ./script/../config/../vendor/rails/railties/lib/commands/server.rb:28 from ./script/../config/../vendor/rails/railties/lib/commands/server.rb:28:in...