Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Dec 2010 19:34:14 GMT
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 187226 for review
Message-ID:  <201012271934.oBRJYEsK015189@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@187226?ac=10

Change 187226 by trasz@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012271934.oBRJYEsK015189>