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

Re: New ELF packages available



> > I don't understand your objection.  The kernel already does this for
> > a.out binaries and libraries and the ELF dynamic linker.  How else do
> > you propose to prevent binaries/libraries which are in use from being
> > opened for writing?
> 
> Why is it necessary to prevent that ?

I suppose for the same reasons some other systems prevent it -- it's
dangerous to the running process.  

> What is stopping me from mapping utmp (for example) with
> MAP_DENYWRITE ?
> 
> ... nothing, I just tried it, and getty, login &c didn't leave a
> record of me in utmp.
> 
> OK, this is going to linux-kernel and linux-alert.

Which is where I think this belongs.

David
-- 
David Engel                        Optical Data Systems, Inc.
david@ods.com                      1101 E. Arapaho Road
(214) 234-6400                     Richardson, TX  75081


Reply to: