Re: hrm ... what is fsuid.h



Dave Reed wrote:

> 
> On my RH 5.2 system /usr/include/sys/fsuid.h contains the following
> (plus the GNU copyright at the top).
> 
> -Dave
> 
> -----------------------------------------------------------------
> 
> #ifndef _SYS_FSUID_H
> #define _SYS_FSUID_H    1
> 
> #include <features.h>
> #include <sys/types.h>
> 
> __BEGIN_DECLS
> 
> /* Change uid used for file access control to UID, without affecting
>    other priveledges (such as who can send signals at the process).
> */
> extern int setfsuid __P ((__uid_t __uid));
> 
> /* Ditto for group id. */
> extern int setfsgid __P ((__gid_t __gid));
> 
> __END_DECLS
> 
> #endif /* fsuid.h */

Thanks, but is that "1" supposed to be at the end of the "#define _SYS_FSUID_H" line or was that
some sort of strang copy and past anomoly?

-Rob



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]