Re: [patch] lockf(3) user-exploitable kernel panic
From: Brian F. Feldman (green_at_freebsd.org)
Date: 04/15/04
- Previous message: Daniel Eischen: "Re: installing multiple kernels"
- Maybe in reply to: Devon H. O'Dell: "[patch] lockf(3) user-exploitable kernel panic"
- Next in thread: Devon H. O'Dell: "Re: [patch] lockf(3) user-exploitable kernel panic"
- Reply: Devon H. O'Dell: "Re: [patch] lockf(3) user-exploitable kernel panic"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: dodell@sitetronics.com Date: Thu, 15 Apr 2004 10:53:30 -0400
"dodell@sitetronics.com" <dodell@sitetronics.com> wrote:
> >> sh has been fixed. I was under the impression that csh used libutil for
> >> this (libutil has been fixed). I'll take a deeper look into shells in
> >> base and in ports and figure out what changes I need to make there.
> >> While I'm at it, I don't think it'd be a bad idea to go ahead and build
> >> in the RLIMIT_SBSIZE to bash and bash2.
> >
> >If it is easy, it might be worthwhile to patch the shells to use
> >libutil and submit those patches back to the maintainers.
>
> There are a huge number of shells to do this with. This subsystem
> looks like somewhat of a kludge to me in this respect; the
> functionality is plainly provided in libutil, while every shell (sh
> and tcsh included) have their own implementations. limits(1)
> even has statically compiled information about the limits for
> every shell it is aware of (including sh, csh, tcsh, bash/bash2
> and a good few others). I'll take a look at these later.
Thanks for doing this work, Devon! The most important part is for
/etc/login.conf to allow you to configure the maximum limits -- all the
shell stuff is really secondary.
-- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\ _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Daniel Eischen: "Re: installing multiple kernels"
- Maybe in reply to: Devon H. O'Dell: "[patch] lockf(3) user-exploitable kernel panic"
- Next in thread: Devon H. O'Dell: "Re: [patch] lockf(3) user-exploitable kernel panic"
- Reply: Devon H. O'Dell: "Re: [patch] lockf(3) user-exploitable kernel panic"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]