Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120521192859.GG163@brightrain.aerifal.cx>
Date: Mon, 21 May 2012 15:28:59 -0400
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: make -i with linux-pam

On Mon, May 21, 2012 at 09:12:43PM +0200, aep wrote:
> On Tue, 15 May 2012 23:24:49 -0400, Rich Felker wrote:
> 
> >If someone wants to present a good argument FOR supporting utmp/wtmp,
> 
> not at all, but i wonder if glibs util function could be combined
> with musl,

If one really wanted a library with these functions, I think there are
better places to copy the source from than glibc.

> for people who want to kill zombies once at a time rather
> then all at once.

Not sure what you mean here... Are you talking about using these files
to kill processes that users left running after logging out? Or what?

> I remember from a security workshop, that someone just ended up
> patching utmp _out_ of libc because it seemed unfeasible to fix all
> of the code from last century.

Sounds like a good idea, but just stubifying it all sounds better.

> Libutil doesn't seem to provide much more then that. Sounds like a
> decent abstraction of "crap" once could reuse?

-lutil is part of POSIX; in musl it's an empty .a file. I'm not sure
it would be a good idea to replace libutil with something else,
because programs using stuff from POSIX that's allowed to need -lutil
might add -lutil to the link command line.

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.