X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gnu%2Fpriv-set.c;h=064d95c8f5daf4287fa98f8a495dbc18837e11ba;hb=cda8f3799ea20b0d39223fbeb16e3b9a074a4ae6;hp=e9f8fb24f3993b484c11a682c2356be917167012;hpb=3322ff6164a1e9dd3d1622c64a9b9b7c5f303ef6;p=debian%2Ftar diff --git a/gnu/priv-set.c b/gnu/priv-set.c index e9f8fb24..064d95c8 100644 --- a/gnu/priv-set.c +++ b/gnu/priv-set.c @@ -2,7 +2,7 @@ /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* Query, remove, or restore a Solaris privilege. - Copyright (C) 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2009-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -22,7 +22,7 @@ #include #include "priv-set.h" -#if HAVE_GETPPRIV +#if HAVE_GETPPRIV && HAVE_PRIV_H # include # include @@ -80,7 +80,7 @@ priv_set_ismember (const char *priv) /* Try to remove priv from the effective set. - Returns 0 if priv was removed from or was not present in the effective set. + Returns 0 if priv was removed. Returns -1 on error with errno set appropriately. */ int priv_set_remove (const char *priv) @@ -111,9 +111,8 @@ priv_set_remove (const char *priv) /* Try to restore priv to the effective set. - Returns 0 if priv was re-added to the effective set (after being prviously - removed by a call to priv_set_remove) or if priv was already in the - effective set. + Returns 0 if priv was re-added to the effective set (after being previously + removed by a call to priv_set_remove). Returns -1 on error with errno set appropriately. */ int priv_set_restore (const char *priv)