• Permissions checks on files and socket

    From Gil@110:300/1.98 to All on Thu Oct 6 04:00:57 2011
    Hi everybody,

    I was wondering how and where permissions checks are made by the
    kernel. Suppose for example I want to create a socket and connect to
    it. I will call first socket and later connect. At same some point the
    kernel must ensure I can effectively have the permissions for this,
    maybe checking my uid against some predetermined. Where is this done
    in the source? How does it work?

    Also some documentation would be helpful.


    --- FIDOGATE 4.4.10
    * Origin: FTN Gate on kofobbs.net (110:300/1.98)