[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: locking utmp



On Tue, 19 Mar 2002 03:34, Steve Langasek wrote:
> It's a read lock, isn't it?  In which case, does it really matter how
> many bytes it's locking?  (Unless, perhaps, requesting a read lock on

If it keeps the read lock for an extended period of time and locks out other 
processes then it could allow a local DOS attack.

> If the question is really "why does it want a read lock at all?", I
> don't think I have an answer for that one.

Getting a read lock on the utmp file before reading it is reasonable.  Not 
sure why it needs to read it at all though.  Must be something in PAM.

-- 
If you send email to me or to a mailing list that I use which has >4 lines
of legalistic junk at the end then you are specifically authorizing me to do
whatever I wish with the message and all other messages from your domain, by
posting the message you agree that your long legalistic sig is void.



Reply to: