|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Wietse's RPCBIND
Wietse Venema (wietse
PORCUPINE.ORG)Fri, 10 Apr 1998 15:26:47 -0400
- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Ken Williams: "announce: weaken for netscape !! (fwd)"
- Previous message: Casper Dik: "Re: (Q) Sun Rpcbind problem."
- In reply to: Chiaki Ishikawa: "(Q) Sun Rpcbind problem."
"My" rpcbind (which is mostly SUN code) does:
unlink(savefile);
fopen(savefile);
Thus, the time window is small. Moreover, you get only one chance;
once rpcbind is gone, someone has to restart it by hand. I figure
that if you slow down the file system enough, and fill up the open
file table, there will be a way to sneak in.
The fix is to open the save file with the O_EXCL flag set. I'm
about to leave for a week. I'll see if I can get out an update
today, otherwise it will have to be a week later.
Wietse
- Next message: Ken Williams: "announce: weaken for netscape !! (fwd)"
- Previous message: Casper Dik: "Re: (Q) Sun Rpcbind problem."
- In reply to: Chiaki Ishikawa: "(Q) Sun Rpcbind problem."