X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fpriv-set.c;h=1b5429ef8e0e1c3700ffbc23aa24533307d29260;hb=fac94349f25305566277d15b965fa8f4efe66613;hp=0ac1b977e269da7d8a03b86a9901691145051b0c;hpb=823b6cf1431f71d7b5f939830444771d23346e66;p=gnulib.git diff --git a/lib/priv-set.c b/lib/priv-set.c index 0ac1b977e..1b5429ef8 100644 --- a/lib/priv-set.c +++ b/lib/priv-set.c @@ -1,6 +1,6 @@ /* 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 @@ -78,7 +78,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) @@ -109,9 +109,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)