[patch] user space access checks on files (outside of a share)
Jeremy Allison
jra at samba.org
Thu Oct 13 21:07:20 GMT 2005
On Thu, Oct 13, 2005 at 04:02:42PM -0500, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jeremy,
>
> You are a genius,. Faking up the connection struct was the
> key. Hole thing is < 150 lines of code.
What can I say.... If only others would realize what depth
of understanding lies beneath this obscenity-spewing facade... :-) :-).
> I store the access_granted with the open Eventlog
> handle so we can just check for SA_FILE_WRITE_DATA for
> the ClearEventlog() call later on.
>
> Please take a look and see if I've goofed anything.
> Thanks.
Cool ! Looks good to me - valgrind safe ?
Jeremy.
More information about the samba-technical
mailing list