pkgsrc-Users archive

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

re: updating COMPAT_LINUX for linux 2.6.x support (take 2)



>  - fix obreak() to honor RLIMIT_AS as well as RLIMIT_DATA.
>    this will affect native processes as well as linux ones,
>    but it seems appropriate.

if you're going to do this, you may as well just make RLIMIT_AS and
RLIMIT_DATA refer to the same thing (and make that RLIMIT_AS.)

when implementing RLIMIT_AS i was confused about how these would
interact, and clearly there was a problem. :)

there's also RLIMIT_STACK, but it has additional semantics that
make it different to both _AS and _DATA, further adding to the
confusion..


.mrg.


Home | Main Index | Thread Index | Old Index