PERFORCE change 187226 for review
Edward Tomasz Napierala
trasz at FreeBSD.org
Mon Dec 27 19:34:15 UTC 2010
http://p4web.freebsd.org/@@187226?ac=10
Change 187226 by trasz at trasz_victim on 2010/12/27 19:33:48
Make it possible to use 'j' as a shorthand for 'jail'.
Affected files ...
.. //depot/projects/soc2009/trasz_limits/usr.sbin/hrl/hrl.c#28 edit
Differences ...
==== //depot/projects/soc2009/trasz_limits/usr.sbin/hrl/hrl.c#28 (text+ko) ====
@@ -114,6 +114,8 @@
strcasecmp(subject, "c") == 0 ||
strcasecmp(subject, "class") == 0)
subject = "loginclass";
+ else if (strcasecmp(subject, "j") == 0)
+ subject = "jail";
if (strcasecmp(subject, "user") == 0 && strlen(textid) > 0) {
id = parse_user(textid);
More information about the p4-projects
mailing list