Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144791407
D40351.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
460 B
Referenced Files
None
Subscribers
None
D40351.id.diff
View Options
diff --git a/lib/libutil/login_class.c b/lib/libutil/login_class.c
--- a/lib/libutil/login_class.c
+++ b/lib/libutil/login_class.c
@@ -546,7 +546,7 @@
/*
* Now, we repeat some of the above for the user's private entries
*/
- if (getuid() == uid && (lc = login_getuserclass(pwd)) != NULL) {
+ if (geteuid() == uid && (lc = login_getuserclass(pwd)) != NULL) {
mymask = setlogincontext(lc, pwd, mymask, flags);
login_close(lc);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 13, 3:43 PM (7 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28678068
Default Alt Text
D40351.id.diff (460 B)
Attached To
Mode
D40351: setusercontext(): Apply user login context only on process' euid being set
Attached
Detach File
Event Timeline
Log In to Comment