[PATCH] move exec_free_args() into do_execve()

From: John Baldwin (jhb_at_freebsd.org)
Date: 10/31/05

  • Next message: John Baldwin: "[PATCH] push Giant down into fdfree()"
    To: current@freebsd.org
    Date: Mon, 31 Oct 2005 17:11:49 -0500
    
    

    This patch removes some duplicate cleanup code from do_execve() failure cases
    and also moves the responsibility for exec_free_args() out of the callers of
    kern_execve() and into do_execve() instead:

    http://www.FreeBSD.org/~jhb/patches/exec_free_args.patch

    Please test, especially with various ABI binaries and with MAC policies
    enabled to make sure it doesn't break anything. Thanks!

    -- 
    John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
    "Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: John Baldwin: "[PATCH] push Giant down into fdfree()"

    Relevant Pages

    • Re: Space Shuttle story on 60 Minutes Wed. tonight
      ... Title Gene chose for his book: "Failure Is Not An Option". ... and tell you the critical mistakes that the folks in Mission Control ... perhaps what Admiral Rickover said about responsibility more ...
      (sci.space.shuttle)
    • Re: [PATCH 0/4] Change return values from queue_work et al.
      ... the only way these functions can fail is if their work_struct argument is ... ...by adding a WARN_ON even though "work not enqueued because it is already in queue" may not be a "failure" at all. ... It _is_ robust for callers to depend on the old behavior. ...
      (Linux-Kernel)
    • Re: Kids running the roof
      ... >people take responsibility and the consequences for their own ... and that failure would have been your fault. ... someone die when you could easily have prevented it. ... My solution would be to paint the roof with non-drying "anti vandal" ...
      (uk.legal)
    • All I need to backup are the databases?
      ... As the administrator of our Sharepoint portal, it's my responsibility to ... ensure that we can recover our portal in the event of a catastrophic ... failure. ...
      (microsoft.public.sharepoint.portalserver)
    • Re: [LTP] [PATCH] fix sys_prctl() returned uninitialized value
      ... prctl01 1 PASS: Test Passed ... causes this failure by git-bisect. ... responsibility for this call, sys_prctlmay return a wrong value. ... The alternative is to set error to -EFXXX or 0 in every ...
      (Linux-Kernel)