aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2004-07-24 04:09:36 +0000
committerJason Stubbs <jstubbs@gentoo.org>2004-07-24 04:09:36 +0000
commit1deb36095ed787f64acbbc60081ab5ba6f47b8ae (patch)
treec5d3b22a01021c7a823dcb87a2744afa2e05b4ce /src
parentcorrected a false positive w/ ebuild.nesteddie check. bug #33011 (diff)
downloadportage-cvs-1deb36095ed787f64acbbc60081ab5ba6f47b8ae.tar.gz
portage-cvs-1deb36095ed787f64acbbc60081ab5ba6f47b8ae.tar.bz2
portage-cvs-1deb36095ed787f64acbbc60081ab5ba6f47b8ae.zip
Added USE flag based PROVIDE support. Fixed lchown sandbox bug. (#58084)
Diffstat (limited to 'src')
-rw-r--r--src/sandbox-1.1/libsandbox.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/sandbox-1.1/libsandbox.c b/src/sandbox-1.1/libsandbox.c
index ec70404..d0d0633 100644
--- a/src/sandbox-1.1/libsandbox.c
+++ b/src/sandbox-1.1/libsandbox.c
@@ -25,7 +25,7 @@
* as some of the InstallWatch code was used.
*
*
- * $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/src/sandbox-1.1/Attic/libsandbox.c,v 1.19 2004/04/14 01:47:36 carpaski Exp $
+ * $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/src/sandbox-1.1/Attic/libsandbox.c,v 1.20 2004/07/24 04:09:36 jstubbs Exp $
*
*/
@@ -431,7 +431,6 @@ fopen(const char *pathname, const char *mode)
int
lchown(const char *path, uid_t owner, gid_t group)
{
-/* Linux specific? */
int result = -1;
char canonic[SB_PATH_MAX];
@@ -439,8 +438,8 @@ lchown(const char *path, uid_t owner, gid_t group)
if FUNCTION_SANDBOX_SAFE
("lchown", canonic) {
- check_dlsym(chown);
- result = true_chown(path, owner, group);
+ check_dlsym(lchown);
+ result = true_lchown(path, owner, group);
}
return result;