[Fakeroot-commits] New commit in fakeroot--main--0.0--patch-39
Clint Adams
schizo@costa.debian.org
Wed, 13 Apr 2005 09:05:15 +0000
Revision: fakeroot--main--0.0--patch-39
Archive: fakeroot@packages.debian.org--fakeroot
Creator: Clint Adams <schizo@debian.org>
Date: Sat Nov 27 12:56:24 EST 2004
Standard-date: 2004-11-27 17:56:24 GMT
Modified-files: communicate.h configure.ac debian/changelog
libfakeroot.c wrapfunc.inp
New-patches: fakeroot@packages.debian.org--fakeroot/fakeroot--main--0.0--patch-39
Summary: Apply Dmitry V. Levin's getresuid/getresgid/setfsuid/setfsgid patch
Keywords:
fakeroot (1.2) unstable; urgency=low
* Apply patch from Dmitry V. Levin <ldv@altlinux.org>:
(Implement wrappers for getresuid, getresgid, setfsuid and
setfsgid functions.)
- communicate.h: New macros: FAKEROOTFUID_ENV, FAKEROOTFGID_ENV.
- configure.ac: Check for getresuid, getresgid, setfsuid and
setfsgid functions.
- libfakeroot.c: (faked_fs_uid, faked_fs_gid): New variables.
(set_faked_uid, set_faked_gid, set_faked_euid, set_faked_egid,
set_faked_reuid, set_faked_regid, set_faked_resuid,
set_faked_resgid): Set these variables.
(read_fs_uid, read_fs_gid, write_fs_uid, write_fs_gid): New
functions.
(read_uids, read_gids, write_uids, write_gids, set_faked_euid,
set_faked_egid): Use these functions.
(get_faked_suid, get_faked_sgid, get_faked_fsuid,
get_faked_fsgid, set_faked_fsuid, set_faked_fsgid): New functions.
[HAVE_GETRESUID] (getresuid): New function.
[HAVE_GETRESGID] (getresgid): Likewise.
[HAVE_SETFSUID] (set_faked_fsuid, setfsuid): New functions.
[HAVE_SETFSGID] (set_faked_fsgid, setfsgid): Likewise.
- wrapfunc.inp [HAVE_GETRESUID] (getresuid): New wrapper.
[HAVE_GETRESGID] (getresgid): Likewise.
[HAVE_SETFSUID] (setfsuid): Likewise.
[HAVE_SETFSGID] (setfsgid): Likewise.