Displaying 20 results from an estimated 9000 matches similar to: "+ init-add-sys-wrapperh.patch added to -mm tree"
2010 Jul 14
3
sample sleep command killed
I re-wrote the compile script to build klibc (cleaning up how I do it,
and how to find the source tarballs). It seems to be compiling fine.
I tried several of the commands in usr/utils/static and most one.
However, the sleep command fails in a strange way (EINVAL on execve):
================================================================
faraday/phil /home/phil/klibc-project-0 581> strace
2010 Apr 16
2
klibc-1.5.17 build failure on mips
Hi:
I downloaded klibc-1.5.17 and try to cross-compiled it for MIPS. Got
following errors:
usr/klibc/exit.o: In function `exit':
exit.c:(.text+0x40): undefined reference to `_exit'
usr/klibc/execl.o: In function `execl':
execl.c:(.text+0x80): undefined reference to `execve'
usr/klibc/execle.o: In function `execle':
execle.c:(.text+0x84): undefined reference to `execve
2008 Jul 13
1
bunch of small fixes
hello hpa,
current chroot util stands out as broken and
found an old nfsmount commit on a stray testbox
in our institue.
thanks for taking a look!
maks
git pull git://git.debian.org/~maks/klibc.git maks
for the changes:
maximilian attems (4):
[klibc] malloc fix compile with DEBUG_MALLOC
[klibc] README: add klibc email
[klibc] nfsmount: improve error message
[klibc]
2003 Nov 28
1
problems when exec()ing /sbin/init from an initramfs
This is an early userspace type question. I have an initramfs that does
some root device setup, then tries to mount the real root partition and
exec /sbin/init to start the real userland. It seems to do what I want,
except that bootlogd hangs while mount /proc. I can't seem to figure
out why.
I'm booting with init=/bin/bash. bash is dynamically linked, and the
appropriate libs are in
2020 Feb 06
4
Latest kernel reports "process '/bin/sh' started with executable stack"
With latest kernel (Linus tree as of 5.6 merge window), I get the
following warning in the kernel 'dmesg':
[ 5.746588] process '/bin/sh' started with executable stack
This comes from commit
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/fs/exec.c?id=47a2ebb7f5053387f5753b524f4920b9b829f922
"execve: warn if process starts with executable
2019 Nov 03
1
Sieve redirect does not collect the sendmail child process correctly (Dovecot 2.3.4.1, Pigeonhole 0.5.4)
On Saturday, November 2, 2019 10:40:45 PM EET Stephan Bosch <stephan at rename-it.nl> wrote:
> I think we already know about this issue (tracked as DOP-942). It
> apparently happens because qmail masks the SIGCHLD signal while Dovecot
> doesn't unmask it before waiting for children.
You're right.
Isn't this a simple fix - a call to sigprocmask ?
This should not be a
2004 Jun 08
2
klibc-0.130: s390, run-init
OK, I have just pushed out klibc-0.130; it significantly updates the run-init
program (again... PLEASE TEST IN A SAFE ENVIRONMENT) based on, but not
identical to, Alexander's suggestions; it also adds s390/x patches from Arnd
Bergmann.
-hpa
2007 Nov 05
1
klibc sparc trouble with gcc > 4.0
tried below fix, that is a partial revert of klibc
6fbd8fafdcc793135988733996d72b0298afe934
see git://git.kernel.org/pub/scm/libs/klibc/klibc.git
with belows fix klibc compiles fine on sparc with newer gcc,
but segfaults:
titan:~# strace -vfF /usr/lib/klibc/bin/fstype
execve("/usr/lib/klibc/bin/fstype", ["/usr/lib/klibc/bin/fstype"],
["SHELL=/bin/bash",
2023 Mar 22
2
[libnbd PATCH v4 0/2] lib/utils: introduce async-signal-safe execvpe()
On 3/22/23 15:45, Laszlo Ersek wrote:
> On 3/21/23 18:28, Eric Blake wrote:
>
>> it is indeed a bug in busybox now that POSIX is moving towards
>> standardizing 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
2004 Mar 12
1
bin/64150: [PATCH] ls(1) coredumps when started via execve(2) with no argv.
On Fri, Mar 12, 2004 at 11:57:30AM +0100, Morten Rodal wrote:
> On Fri, Mar 12, 2004 at 12:49:14PM +0200, Ruslan Ermilov wrote:
> > On Fri, Mar 12, 2004 at 10:22:00AM +0100, Morten Rodal wrote:
> > > >Description:
> > > ls(1) calls the fts(3) functions for traversing a file hierarchy.
> > > If ls(1) is executed via execve(2) system call with a NULL argv
>
2019 Nov 02
2
Sieve redirect does not collect the sendmail child process correctly (Dovecot 2.3.4.1, Pigeonhole 0.5.4)
Hi,
I got this simple test Sieve config:
#############################################
# Sieve Filter
# Generated by Ingo (http://www.horde.org/apps/ingo/) (11/01/2019, 10:46:06 PM)
# Forwards
if true {
redirect "krustev at krustev.net";
}
# Forward Keep Action
if true {
keep;
stop;
}
#############################################
Which used to work fine with:
# 2.2.27
2001 Mar 01
2
do_exec_pty(..)
Hello,
I see that incase of command execution:
:fork()" is called twice, in sshd.
Once to spin off child sshd from parenat and
second from child sshd, to execute command.
Due to this I see 3 processes being created
for each connection viz:
16398 0.0 0.3 1284 892 ?? S 4:33PM 0:00.05 sshd:child
16399 0.0 0.1 320 232 p4 Is+ 4:33PM 0:00.06 -sh -c foo_command
16401 0.0
2011 Jan 04
2
Courier-mta with Dovecot LDA again
Hi all
Sorry for repost, but i don't believe that there is noone who know where the problem can be. At
least developers should know :-)
I have sent this post once, but without answer.
I have setup dovecot lda instead of maildrop on my courier server.
Delivery is working, sieve plugin too, but i can't figure out why lda can't send emails via sendmail
(vacation).
I always get
2010 Oct 27
2
[LLVMdev] llvmc searches PATH for llc
Hi,
Is it intended that llvmc should search PATH for llc? For example, this
means that llvmc 2.7 can invoke llc 2.8:
% echo $PATH
/home/jdenny/installs/llvm/2.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
% /home/jdenny/installs/llvm/2.7/bin/llvmc test.ll
llc: Unknown command line argument '-f'. Try: 'llc -help'
% strace -f
2008 Feb 03
1
Chrooted R + Rserve
I successfully chrooted R running Rserve with an unprivileged user,
and thought I'd publish the process.
Attached is a jailkit.ini for use with jailkit;* and a chroot/setuid
wrapper, chwrap.c.
To set up the chroot in, for instance, /var/R; perform:
mkdir -v /var/R
jk_init -v -c jailkit.ini -j /var/R R
then create the unprivileged user `r':
useradd r
After compiling chwrap
2016 Jan 17
1
[PATCH klibc] run-init: Add dry-run mode
initramfs-tools wants to validate the real init program before running
it, as there is no way out once it has exec'd run-init. This is
complicated by the increasing use of symlinks for /sbin/init and for
/sbin itself. We can't simply resolve them with 'readlink -f' because
any absolute symlinks will be resolved using the wrong root. Add a
dry-run mode (-n option) to run-init
2010 Jan 05
7
[Bug 1692] New: sshd sometimes dies when sent multiple SIGHUPs in quick succession
https://bugzilla.mindrot.org/show_bug.cgi?id=1692
Summary: sshd sometimes dies when sent multiple SIGHUPs in
quick succession
Product: Portable OpenSSH
Version: 5.3p1
Platform: Other
URL: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug
/497781
OS/Version: Linux
Status: NEW
2010 Sep 20
1
[PATCH] Fix error launching libguestfs when euid != uid
When writing to a RHEV target, virt-v2v launches the libguestfs appliance with
euid:egid = 36:36, which is required to write to an NFS target using
root_squash. Since the update to use an febootstrap cached appliance, this
causes an error on startup as the cached files are owned by root, but the cache
directory is owned by 36:36. The reason for this is that execve() resets euid
and egid to uid and
2020 Sep 22
2
[PATCH] debian/scripts: Optimize scripts
Fewer fork()s and execve()s quickly add up to significant savings. I'm
concerned Debian is slowly headed towards recreating SunOS^WSolaris
5.7^W2.7^W7 and the layers and layers of scripts which killed
performance.
As these runtime scripts are heavily used, avoid all uses of external
programs by them.
Signed-off-by: Elliott Mitchell <ehem+debian at m5p.com>
---
The gains from this
2014 Jun 11
3
[PATCH] isatty(): use TCGETS instead of TIOCGPGRP, like dietlibc does
H. Peter Anvin dixit:
>But is that really a tty, then? I also understand that virtio console
Hm. Both eglibc and dietlibc return true for isatty on it.
>doesn't support termios, which makes this an ugly bifurcation. All of
Let me test that? quick? hah not really (CONFIG_VIRTIO_CONSOLE=m)?
ok luckily Ubuntu?s linux-image-3.15.0-5-generic is installable on
Debian stable and has