Slashdot Mirror


Linux 2.2.4

Phaid writes "As if you weren't already being flooded about this, linux 2.2.4 is out. Here's the official Announcement from The Man Himself. There's a small problem with BSD Process Accounting that can be easily fixed with the patch. " You know the routine-go get'em.

1 of 66 comments (clear)

  1. Error and fix by korpiq · · Score: 4

    The next mail in that thread said following, and guess what? At least I had to apply that patch to get it to compile. Assume a 2.2.4-oops soon as The Man returns from vacation.


    Date: Tue, 23 Mar 1999 19:35:04 -0500
    From: Arvind Sankar

    acct.c: In function `sys_acct':
    acct.c:197: too few arguments to function `filp_close'
    acct.c:203: too few arguments to function `filp_close'

    Should the second parameter be NULL? (guessing wildly after looking at binfmt*)

    Yes, here is the fix

    --- linux/kernel/acct.c.~1~ Tue Mar 23 16:14:01 1999
    +++ linux/kernel/acct.c Tue Mar 23 16:34:55 1999
    @@ -194,13 +194,13 @@
    }
    if (old_acct) {
    do_acct_process(0,old_acct);
    - filp_close(old_acct);
    + filp_close(old_acct, NULL);
    }
    out:
    unlock_kernel();
    return error;
    out_err:
    - filp_close(file);
    + filp_close(file, NULL);
    goto out;
    }

    --

    I think, therefore thoughts exist. Ego is just an impression.