Subject: SETUIDSCRIPTS
To: None <current-users@NetBSD.ORG>
From: Jaromir Dolecek <dolecek@ics.muni.cz>
List: current-users
Date: 07/08/1997 00:35:21
Is %subj% supposed to work ? While compiling kernel as of July 5
it writes:

cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes -I. -I../../../../arch -I../../../.. -nostdinc -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DEXEC_AOUT -DEXEC_SCRIPT -DI486_CPU -DI586_CPU -DI686_CPU -DDUMMY_NOPS -DXSERVER -DUCONSOLE -DINSECURE -DRTC_OFFSET="0" -DDIAGNOSTIC -DKTRACE -DSYSVMSG -DSYSVSEM -DSYSVSHM -DCOMPAT_NOMID -DCOMPAT_11 -DCOMPAT_12 -DCOMPAT_43 -DCOMPAT_LINUX -DEXEC_ELF32 -DSETUIDSCRIPTS -DFFS -DMFS -DNFS -DCD9660 -DMSDOSFS -DFDESC -DKERNFS -DPROCFS -DFIFO -DINET -DEISAVERBOSE -DPCIVERBOSE -DMAXUSERS=32 -D_KERNEL  -Di386  -c ../../../../kern/exec_subr.c
--- exec_script.o ---
../../../../kern/exec_script.c: In function `exec_script_makecmds':
../../../../kern/exec_script.c:148: `S_ISUID' undeclared (first use this function)
../../../../kern/exec_script.c:148: (Each undeclared identifier is reported only once
../../../../kern/exec_script.c:148: for each function it appears in.)
../../../../kern/exec_script.c:148: `S_ISGID' undeclared (first use this function)
cc1: warnings being treated as errors
../../../../kern/exec_script.c:178: warning: suggest parentheses around assignment used as truth value
--- init_main.o ---
--- exec_script.o ---
../../../../kern/exec_script.c:71: warning: `shellargp' might be used uninitialized in this function
../../../../kern/exec_script.c:72: warning: `scriptvp' might be used uninitialized in this function
../../../../kern/exec_script.c:74: warning: `script_uid' might be used uninitialized in this function
../../../../kern/exec_script.c:75: warning: `script_gid' might be used uninitialized in this function
../../../../kern/exec_script.c:76: warning: `script_sbits' might be used uninitialized in this function
../../../../kern/exec_script.c:244: warning: `vp' might be used uninitialized in this function
../../../../kern/exec_script.c:280: warning: `vp' might be used uninitialized in this function

Any glue ?

jd
---
Jaromir Dolecek              		UVT MU, Botanicka 68A, Brno, 60200
dolecek@ics.muni.cz			Tel.: +420-5-4151 2280
http://www.muni.cz/~dolecek
-------------------------------------------------------------------------------
Contrary to popular belief, Unix is user friendly.  
It just happens to be selective about who it makes friends with.
                -- Dave Parnas
-------------------------------------------------------------------------------