From mboxrd@z Thu Jan 1 00:00:00 1970 From: GOMEZ NOGUERA DAVIDEDUARDO Subject: Re: Misc C question Date: Thu, 20 Jun 2002 15:42:27 -0500 (CDT) Sender: linux-c-programming-owner@vger.kernel.org Message-ID: References: <15633.55133.760880.963357@cerise.nosuchdomain.co.uk> Mime-Version: 1.0 Return-path: In-Reply-To: <15633.55133.760880.963357@cerise.nosuchdomain.co.uk> List-Id: Content-Type: TEXT/PLAIN; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Glynn Clements Cc: xmp , linux-c-programming@vger.kernel.org hello. sorry if the message gets duplicated. I read a while ago of some security issues on doing checks on files before opening, wich is harmfull if the program is suid. But i dont remember what to do about it. can someone refresh it to me? is there anyway you can lock a file access and tell the kernel? and what would happen if the program crashes without unlocking the file? bye bye