lkml.org 
[lkml]   [2002]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Introduce BSD-style user credential [3/3]
    torvalds@transmeta.com (Linus Torvalds)  wrote on 30.08.02 in <Pine.LNX.4.44.0208302110280.1524-100000@home.transmeta.com>:

    > One thing that may be interesting (I certainly think it migth be), would
    > be to add a "struct user_struct *" pointer to the vfs_cred as well. This
    > is because I'd just _love_ to have that "user_struct" fed down to the VFS
    > layer, since I think that is where we may some day want to put things like
    > user-supplied cryptographic keys etc.
    >
    > The advantage of "struct user_struct" (as opposed to just a uid_t) is that
    > it can have information that lives for the whole duration of a login, and
    > it's really the only kind of data structure in the kernel that can track
    > that kind of information.

    In that case, wouldn't "struct session" be a better name?

    MfG Kai
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:28    [W:0.031 / U:120.348 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site