From owner-svn-src-head@FreeBSD.ORG Fri Nov 1 10:42:33 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8686FD9F; Fri, 1 Nov 2013 10:42:33 +0000 (UTC) (envelope-from pluknet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7251A210C; Fri, 1 Nov 2013 10:42:33 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA1AgXFU039364; Fri, 1 Nov 2013 10:42:33 GMT (envelope-from pluknet@svn.freebsd.org) Received: (from pluknet@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA1AgX0k039363; Fri, 1 Nov 2013 10:42:33 GMT (envelope-from pluknet@svn.freebsd.org) Message-Id: <201311011042.rA1AgX0k039363@svn.freebsd.org> From: Sergey Kandaurov Date: Fri, 1 Nov 2013 10:42:33 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r257502 - head/usr.bin/limits X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Nov 2013 10:42:33 -0000 Author: pluknet Date: Fri Nov 1 10:42:32 2013 New Revision: 257502 URL: http://svnweb.freebsd.org/changeset/base/257502 Log: Remove the dependency on procfs. Reviewed by: kib MFC after: 1 week X-MFC with: r257430 Modified: head/usr.bin/limits/limits.1 Modified: head/usr.bin/limits/limits.1 ============================================================================== --- head/usr.bin/limits/limits.1 Fri Nov 1 10:32:33 2013 (r257501) +++ head/usr.bin/limits/limits.1 Fri Nov 1 10:42:32 2013 (r257502) @@ -19,7 +19,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 23, 2012 +.Dd October 31, 2013 .Dt LIMITS 1 .Os .Sh NAME @@ -87,9 +87,6 @@ Like the previous usage, it outputs thes output, except that it will emit them in .Ic eval format, suitable for the calling shell. -The calling shell is determined by examining the entries in the -.Pa /proc -file system for the parent process. If the shell is known (i.e., it is one of .Nm sh , csh , bash , tcsh , ksh , pdksh or @@ -386,21 +383,6 @@ utility does not handle commands with eq signs in their names, for obvious reasons. .Pp -When eval output is selected, the -.Pa /proc -file system must be installed -and mounted for the shell to be correctly determined, and therefore -output syntax correct for the running shell. -The default output is valid for -.Xr sh 1 , -so this means that any -usage of -.Nm -in eval mode prior mounting -.Pa /proc -may only occur in standard bourne -shell scripts. -.Pp The .Nm utility makes no effort to ensure that resource settings emitted or displayed