From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c8e92299831ab9fd,start X-Google-Attributes: gidfee84,public From: vikas@newsreader.jvnc.net (Vikas Aggarwal) Subject: C2/SIA security programming Date: 1996/03/19 Message-ID: #1/1 X-Deja-AN: 143331362 sender: news@tigger.jvnc.net (Zee News Genie) summary: Need info programming with C2/SIA enahanced OSF1 security organization: Navya Inc. keywords: C2 enhanced security sia reply-to: vikas@navya.com newsgroups: comp.unix.osf.osf1 I am trying to write some public domain C code that also works with DEC OSF1 enhanced security. Unfortunately, I dont have access to a DEC OSF machine :( Can any OSF1 programmer please help me with the following question regarding the C code. Thanks, Please email directly so that I dont clutter this list. I am doing the following: finduser(name) { sia_ses_init(... dunno parameters...) <<< what parameters ? setprpwent(); p = getprpwnam(name); /* extract the user entry */ save_required_info(p); endprpwent(); } Should I avoid calling the endprpwent() call at the end. Will I have to call sia_ses_init() each time I want a user if I call endprpwent() ? -vikas Vikas Aggarwal