SOCK_CLOEXEC glibc patches (was: dbus startup problem when built with eglibc-2.17)

2013-09-02 Thread Thomas Schwinge
Hi! On Mon, 02 Sep 2013 22:35:51 +0200, Svante Signell wrote: > After building dbus-1.6.12-1 with eglibc-2.17-92 starting dbus-daemon > fails (it was built 80 days ago with eglibc-2.13). The problem is due to > the two statements in dbus/dbus-sysdeps-unix.c: > *fd_p = socket (domain, type | SO

dbus startup problem when built with eglibc-2.17

2013-09-02 Thread Svante Signell
Hi, After building dbus-1.6.12-1 with eglibc-2.17-92 starting dbus-daemon fails (it was built 80 days ago with eglibc-2.13). The problem is due to the two statements in dbus/dbus-sysdeps-unix.c: *fd_p = socket (domain, type | SOCK_CLOEXEC, protocol); cloexec_done = *fd_p >= 0; if (*fd_p < 0

[PATCH 1/2] libdiskfs: track file name in struct peropen

2013-09-02 Thread Justus Winter
Track the relative path used to obtain a file handle in the struct peropen. * libdiskfs/diskfs.h (struct peropen): New field path. * libdiskfs/peropen-make.c (diskfs_make_peropen): Initialize path. * libdiskfs/peropen-rele.c (diskfs_release_peropen): Free path. * libdiskfs/fsys-getroot.c (diskfs_S

[PATCH 2/2] libnetfs: track file name in struct peropen

2013-09-02 Thread Justus Winter
Track the relative path used to obtain a file handle in the struct peropen. * libnetfs/netfs.h (struct peropen): New field path. * libnetfs/make-peropen.c (netfs_make_peropen): Initialize path. * libnetfs/release-peropen.c (netfs_release_peropen): Free path. * libnetfs/fsys-getroot.c (netfs_S_fsys

Re: [PATCH] mount: handle -t auto

2013-09-02 Thread Justus Winter
Quoting Justus Winter (2013-08-30 16:08:26) > Use libblkid to detect the filesystem type if "auto" is given as > type. Remove the translator localization from main, this is also done > in do_mount and any errors are propagated properly. This way "auto" is > handled correctly if given on the command

[PATCH] mount: handle -t auto

2013-09-02 Thread Justus Winter
Use libblkid to detect the filesystem type if "auto" is given as type. Remove the translator localization from main, this is also done in do_mount and any errors are propagated properly. This way "auto" is handled correctly if given on the command line or used as filesystem type in the fstab. * co