Re: hrm.... what is fsuid.h



I am compiling on a slackware 3.6 machine.

I wound up getting around this with touch /usr/include/sys/fsuid.h

I'm not sure what you mean by the prototype (i'm no programmer) but i found
mention of the setfsgid, and this is from the man 2 pages

NAME
       setfsgid - set group identity used for file system checks

SYNOPSIS
       int setfsgid(uid_t fsgid)


-Brian

On Fri, 15 Jan 1999, Felix Bellaby wrote:
>Brian M Dial writes:
> > gnome-score.c:16: sys/fsuid.h: No such file or directory
>[...]
> > it's true, i don't have the file.  Why do I get the feeling it's important? ;)
>
>Under Linux, the setfsgid function used by the gnome-score.c code 
>allows it to minimise the permissions needed to read the score 
>files used by gnome. The prototype for this function is in sys/fsuid.h.
>
>Your error messages suggest that your configure script is setting the
>HAVE_SETFSGID macro in config.h because gnome-score.c does not try 
>including fsuid.h unless this macro is set (unless you are compiling
>a very weird copy of gnome-score.c!). configure should only set 
>this macro when your system supports the setfsgid function.
>
>However, I thought setfsgid was unique to Linux and always had
>its prototype in sys/fsuid.h.
>
>What system are you compiling on ?
>
>Where is the prototype for setfsgid included among your system's 
>include files ?
>
>Feli
--
#########################################################
# Brian M Dial           #   Unix Systems Administrator #
# bdial@rkkengineers.com #  Rummel, Klepper & Kahl, LLP #
# 410.728.2900 x1329     #      Consulting Engineers    #
#########################################################



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