Mailing List Archive


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

Re: [tlug] ulimit



>>>>> "simon" == simon colston <simon@example.com> writes:

    simon> Therefore, is this limit the max open files for all
    simon> processes started from this shell?

The answer to the question I think you're asking is "yes".

More precisely, it is the upper bound for the process group under the
login process, which execs a shell AFAICS.  fork(2) will inherit the
current resource limits AFAICT from the man page.

So /etc/security/limits.conf will affect all children of the login
shell, but any ulimit's done in the login shell will propagate to its
children, any ulimits they do will propagate to theirs, etc.

Of course if any of those children suid root then all limits are off.

-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links