svn commit: trunk/busybox/loginutils
vda at busybox.net
vda at busybox.net
Tue Feb 24 17:10:25 UTC 2009
Author: vda
Date: 2009-02-24 17:10:24 +0000 (Tue, 24 Feb 2009)
New Revision: 25447
Log:
login: fix buglet introduced by "simplification"
Modified:
trunk/busybox/loginutils/login.c
Changeset:
Modified: trunk/busybox/loginutils/login.c
===================================================================
--- trunk/busybox/loginutils/login.c 2009-02-24 16:47:03 UTC (rev 25446)
+++ trunk/busybox/loginutils/login.c 2009-02-24 17:10:24 UTC (rev 25447)
@@ -180,7 +180,7 @@
if (getfilecon(full_tty, &old_tty_sid) < 0) {
bb_perror_msg_and_die("getfilecon(%s) failed", full_tty);
}
- if (security_compute_relabel(user_sid, old_tty_sid,
+ if (security_compute_relabel(*user_sid, old_tty_sid,
SECCLASS_CHR_FILE, &new_tty_sid) != 0) {
bb_perror_msg_and_die("security_change_sid(%s) failed", full_tty);
}
More information about the busybox-cvs
mailing list