Date: Sat, 2 Dec 2000 17:34:37 +0100 From: alex@big.endian.de (Alexander Langer) To: =?iso-8859-1?Q?Joachim_Str=F6mbergson?= <watchman@ludd.luth.se> Cc: Kris Kennaway <kris@citusc.usc.edu>, audit@FreeBSD.ORG Subject: Re: Project for auditors Message-ID: <20001202173437.B33987@cichlids.cichlids.com> In-Reply-To: <3A2141A0.7BF149C4@ludd.luth.se>; from watchman@ludd.luth.se on Sun, Nov 26, 2000 at 06:00:16PM %2B0100 References: <20001124143336.A70550@citusc17.usc.edu> <3A2141A0.7BF149C4@ludd.luth.se>
next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Joachim Strömbergson (watchman@ludd.luth.se): > Also, in the quit.c the temp file is deleted by rm(tempname) on line > 448. Should I use unlink() instead? I don't know how the tmpfile is used, but what about unlinking it right after opening the file but keeping the fd open? If you then unlink again and it returns 0, you should re-create a tempfile and use the same procedure (because usually it shouldn't exist any more...) (Warning: Maybe I'm having a wrong understanding of the unlink stuff at the moment) Alex -- cat: /home/alex/.sig: No such file or directory To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001202173437.B33987>