18 Jul, 2007

2 commits

  • The CHILD_MAX macro in limits.h should not be there. It claims to be the
    limit on processes a user can own, but its value is wrong for that.
    There is no constant value, but a variable resource limit (RLIMIT_NPROC).
    Nothing in the kernel uses CHILD_MAX.

    The proper thing to do according to POSIX is not to define CHILD_MAX at all.
    The sysconf (_SC_CHILD_MAX) implementation works by calling getrlimit.

    Signed-off-by: Roland McGrath
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Roland McGrath
     
  • The OPEN_MAX macro in limits.h should not be there. It claims to be the
    limit on file descriptors in a process, but its value is wrong for that.
    There is no constant value, but a variable resource limit (RLIMIT_NOFILE).
    Nothing in the kernel uses OPEN_MAX except things that are wrong to do so.
    I've submitted other patches to remove those uses.

    The proper thing to do according to POSIX is not to define OPEN_MAX at all.
    The sysconf (_SC_OPEN_MAX) implementation works by calling getrlimit.

    Signed-off-by: Roland McGrath
    Cc: "David S. Miller"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Roland McGrath
     

17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds