glibc/sysdeps/mach/hurd
Florian Weimer a1b85ae88b ld.so: Add original DSO name if overridden by audit module [BZ #18251]
* elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
	for original name of the DSO.  Add it to the name list of the DSO
	if it is actually given.
	(_dl_map_object): Keep track of whether an audit module rewrote
	the file name.  If yes, pass the original name to
	_dl_map_object_from_fd in a new parameter, otherwise NULL.  When
	debugging is enabled, log the change of the file name.
	* sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
	_dl_map_object_from_fd.
	* elf/Makefile: Build and run tst-audit11 and tst-audit12.
	* elf/tst-audit11.c: New file
	* elf/tst-auditmod11.c: New file.
	* elf/tst-audit11mod1.c: New file.
	* elf/tst-audit11mod2.c: New file.
	* elf/tst-audit11mod2.map: New file.
	* elf/tst-audit12.c: New file
	* elf/tst-auditmod12.c: New file.
	* elf/tst-audit12mod1.c: New file.
	* elf/tst-audit12mod2.c: New file.
	* elf/tst-audit12mod2.map: New file.
	* elf/tst-audit12mod3.c: New file.
2015-11-09 17:01:46 +01:00
..
bits Move bits/libc-lock.h and bits/libc-lockP.h out of bits/ (bug 14912). 2015-09-08 21:11:03 +00:00
i386
net
_exit.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
accept4.c
accept.c
access.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
adjtime.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
bind.c
brk.c
chdir.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
check_fds.c
chflags.c
chmod.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
chown.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
chroot.c
clock.c
close.c
closedir.c
configure Check sysheaders when looking for Mach and Hurd headers 2015-09-06 20:56:18 +02:00
configure.ac Check sysheaders when looking for Mach and Hurd headers 2015-09-06 20:56:18 +02:00
connect.c
cthreads.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
device-nrs.h
dirfd.c
dirstream.h Move bits/libc-lock.h and bits/libc-lockP.h out of bits/ (bug 14912). 2015-09-08 21:11:03 +00:00
dl-execstack.c
dl-sysdep.c ld.so: Add original DSO name if overridden by audit module [BZ #18251] 2015-11-09 17:01:46 +01:00
dl-sysdep.h
dup2.c
dup3.c
eloop-threshold.h
enbl-secure.c
err_hurd.sub
errlist.c
errno-loc.c
errno.c
errnos.awk
euidaccess.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
execve.c Convert 24 more function definitions to prototype style (array parameters). 2015-10-20 11:51:03 +00:00
faccessat.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
fchdir.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
fchflags.c
fchmod.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
fchmodat.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
fchown.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
fchownat.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
fcntl.c
fdatasync.c
fdopendir.c
fexecve.c
fgetxattr.c
flistxattr.c
flock.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
fork.c
fpathconf.c
fremovexattr.c
fsetxattr.c
fstatfs64.c
fstatfs.c
fstatvfs64.c
fstatvfs.c
fsync.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
ftruncate.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
futimes.c
fxstat64.c
fxstat.c
fxstatat64.c
fxstatat.c
getclktck.c
getcwd.c Convert 69 more function definitions to prototype style (line wrap cases). 2015-10-19 21:23:47 +00:00
getdents.c
getdomain.c
getdtsz.c
getegid.c
geteuid.c
getgid.c
getgroups.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
gethostid.c
gethostname.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
getitimer.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
getlogin_r.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
getlogin.c
getpeername.c
getpgid.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
getpid.c
getppid.c
getpriority.c Fix nice getpriority, setpriority namespace (bug 18553). 2015-06-17 20:22:39 +00:00
getresgid.c
getresuid.c
getrlimit.c
getrusage.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
getsid.c
getsockname.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
getsockopt.c
getuid.c
getxattr.c
group_member.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
if_index.c
ifreq.c
ifreq.h
Implies
init-posix.c
ioctl.c
isatty.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
jmp-unwind.c
kernel-features.h
kill.c
lchmod.c
lchown.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
lgetxattr.c
libc_p-ldscript
libc-ldscript
libc-lock.h Move bits/libc-lock.h and bits/libc-lockP.h out of bits/ (bug 14912). 2015-09-08 21:11:03 +00:00
libc-tsd.h Rename bits/libc-tsd.h to libc-tsd.h (bug 14912). 2015-09-03 20:33:46 +00:00
link.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
linkat.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
listen.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
listxattr.c
llistxattr.c
lremovexattr.c
lseek64.c
lseek.c
lsetxattr.c
lutimes.c
lxstat64.c
lxstat.c
Makeconfig
Makefile Fix typo 2015-09-15 10:19:31 +02:00
malloc-machine.h malloc: Rewrite with explicit TLS access using __thread 2015-10-17 12:06:48 +02:00
mig-reply.c
mkdir.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
mkdirat.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
mlock.c hurd: permit to use mlock from non-root process 2015-07-09 13:56:30 +02:00
mmap.c Fix vm_page_size visibility 2015-09-21 00:08:51 +02:00
munlock.c hurd: permit to use mlock from non-root process 2015-07-09 13:56:30 +02:00
open64.c
open.c
openat64.c
openat.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
opendir.c
pathconf.c
pipe.c
poll.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
ppoll.c
pread64.c
pread.c
prof-freq.c
profil.c
pselect.c Convert 69 more function definitions to prototype style (line wrap cases). 2015-10-19 21:23:47 +00:00
ptrace.c
ptsname.c
pwrite64.c
pwrite.c
read.c
readdir64_r.c
readdir64.c
readdir_r.c
readdir.c
readlink.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
readlinkat.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
reboot.c
recv.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
recvfrom.c Convert 69 more function definitions to prototype style (line wrap cases). 2015-10-19 21:23:47 +00:00
recvmsg.c
removexattr.c
rename.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
renameat.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
revoke.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
rewinddir.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
rmdir.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
sbrk.c
seekdir.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
select.c Convert 69 more function definitions to prototype style (line wrap cases). 2015-10-19 21:23:47 +00:00
send.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
sendfile64.c
sendfile.c
sendmsg.c
sendto.c
setdomain.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
setegid.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
seteuid.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
setgid.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
setgroups.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
sethostid.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
sethostname.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
setitimer.c
setlogin.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
setpgid.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
setpriority.c Fix nice getpriority, setpriority namespace (bug 18553). 2015-06-17 20:22:39 +00:00
setregid.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
setresgid.c
setresuid.c
setreuid.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
setrlimit.c
setsid.c
setsockopt.c
settimeofday.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
setuid.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
setxattr.c
shlib-versions
shutdown.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
sigaction.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
sigaltstack.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
siglist.h
sigpending.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
sigprocmask.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
sigstack.c
sigsuspend.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
sigwait.c
socket.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
socketpair.c
spawni.c
statfs64.c
statfs.c
statfsconv.c
statvfs64.c
statvfs.c
Subdirs
symlink.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
symlinkat.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
sync.c
syncfs.c
sysconf.c
telldir.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
times.c
tls.h
tmpfile64.c
tmpfile.c
truncate.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
ttyname_r.c
ttyname.c
umask.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
uname.c
unlink.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
unlinkat.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
utimes.c Convert 24 more function definitions to prototype style (array parameters). 2015-10-20 11:51:03 +00:00
Versions
wait4.c
write.c
xmknod.c
xmknodat.c
xstat64.c
xstat.c
xstatconv.c