search for: user_struct

Displaying 5 results from an estimated 5 matches for "user_struct".

2023 Jan 24
0
[RFC PATCH 01/19] mm: Introduce vm_account
..._account. Takes references > + * on the task/mm/user/cgroup as required although callers must ensure > + * any references passed in remain valid for the duration of this > + * call. > + */ > +void vm_account_init(struct vm_account *vm_account, struct task_struct *task, > + struct user_struct *user, enum vm_account_flags flags); kerneldoc comments are supposed to be next to the implementation, and not the declaration in the header.
2002 Nov 21
1
%U in include
...part -------------- --- source/smbd/password.c 2002-11-13 00:20:49.000000000 +0100 +++ source/smbd/password.c.new 2002-11-21 19:02:54.000000000 +0100 @@ -101,6 +101,7 @@ int register_vuid(auth_serversupplied_info *server_info, const char *smb_name) { + extern userdom_struct current_user_info; user_struct *vuser = NULL; /* Ensure no vuid gets registered in share level security. */ @@ -194,6 +195,15 @@ DEBUG(3,("UNIX uid %d is UNIX user %s, and will be vuid %u\n",(int)vuser->uid,vuser->user.unix_name, vuser->vuid)); + /* + * This hack is here to solve problem with %U in...
2008 May 14
0
Samba Mashup Report (#2) for Wednesday, May 14, 2008
...way we represent the "current user" information. We have multiple places where we represent the current credentials. For example there is the "current_user" global variable. In "connection_struct" we have sets of user-ids, there is the "struct user_struct" and so on. I want to replace all those places where we store and use the current user information by passing around the central structure that falls out of authentication: The "auth_serversupplied_info". SMR: Is there some reason you are focusing on this cleanup? VL:...
2008 May 14
0
Samba Mashup Report (#2) for Wednesday, May 14, 2008
...way we represent the "current user" information. We have multiple places where we represent the current credentials. For example there is the "current_user" global variable. In "connection_struct" we have sets of user-ids, there is the "struct user_struct" and so on. I want to replace all those places where we store and use the current user information by passing around the central structure that falls out of authentication: The "auth_serversupplied_info". SMR: Is there some reason you are focusing on this cleanup? VL:...
2000 May 22
1
Inherit Permissions addition
...luable project. Any comments or feedback would be very welcome. Sincerely, --Kyle Kyle Herbert First 'Net' Impressions, LLC -------------- next part -------------- --- uid.c.original Thu May 11 04:57:19 2000 +++ uid.c Sat May 13 12:17:30 2000 @@ -160,9 +160,11 @@ { user_struct *vuser = get_valid_user_struct(vuid); int snum; - gid_t gid; + gid_t gid; uid_t uid; char group_c; + int inheritnewgid; + gid_t inheritedgid; if (!conn) { DEBUG(2,("Connection not open\n")); @@ -170,6 +172,43 @@...