search for: _sc_audit

Displaying 5 results from an estimated 5 matches for "_sc_audit".

2000 Jul 20
1
WITH_IRIX_AUDIT causes error (fwd)
-- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.mindrot.org/ | Email: djm at mindrot.org (home) -or- djm at ibs.com.au (work) ---------- Forwarded message ---------- Date: Thu, 20 Jul 2000 15:46:23 -0500 From: Brian Hanna <bdhanna at cmrr.umn.edu> To: openssh at openssh.com Subject: WITH_IRIX_AUDIT causes error Hi, I
2000 Aug 02
1
IRIX 6.5.5m openssh-2.1.1p4 IRIX_AUDIT PROBLEM
...---BEGIN UIDSWAP CODE--- 82 /* 83 * Permanently sets all uids to the given uid. This cannot be 84 * called while temporarily_use_uid is effective. 85 */ 86 void 87 permanently_set_uid(uid_t uid) 88 { 89 #ifdef WITH_IRIX_AUDIT 90 if (sysconf(_SC_AUDIT)) { 91 debug("Setting sat id to %d", (int) uid); 92 if (satsetid(uid)) 93 fatal("error setting satid: %.100s", strerror(errno)); 94 } 95 #endif /* WITH_IRIX_AUDIT */ 96 97 i...
2002 Feb 15
1
IRIX cleanup.
...; + projid = 0; + } + if (setprid(projid)) + fatal("Failed to initialize project %d for %s: %.100s", + (int)projid, pw->pw_name, strerror(errno)); +#endif /* WITH_IRIX_PROJECT */ +#ifdef WITH_IRIX_AUDIT + if (sysconf(_SC_AUDIT)) { + debug("Setting sat id to %d", (int) pw->pw_uid); + if (satsetid(pw->pw_uid)) + debug("error setting satid: %.100s", strerror(errno)); + } +#endif /* WITH_IRIX_AUDIT */ +} + + +#endif /* defined(WITH_IRIX_PRO...
2000 Jun 21
0
IRIX patches
....h" + #ifdef WITH_IRIX_AUDIT + #include <sat.h> + #endif /* WITH_IRIX_AUDIT */ /* * Note: all these functions must work in all of the following cases: *************** *** 83,88 **** --- 86,99 ---- void permanently_set_uid(uid_t uid) { + #ifdef WITH_IRIX_AUDIT + if (sysconf(_SC_AUDIT)) { + debug("Setting sat id to %d", (int) uid); + if (satsetid(uid)) + fatal("error setting satid: %.100s", strerror(errno)); + } + #endif /* WITH_IRIX_AUDIT */ + if (setuid(uid) < 0) debug("setuid %d: %.100s", (int) uid, strerror(errno)); }
2000 Nov 14
14
New snapshot
I have just uploaded a new snapshot to: http://www.mindrot.org/misc/openssh/openssh-SNAP-20001114.tar.gz This snapshot includes Markus Friedl's new SSH2 RSA authentication work and -R portforwarding for SSH2. Please give these a good test. The new RSA authentications works similar to the current SSH2 DSA keys, but requires a little modification to config files. Currently RSA key cannot be