From owner-cvs-src@FreeBSD.ORG Sat Dec 9 22:50:08 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 925C116A47B; Sat, 9 Dec 2006 22:50:08 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38F0643DAD; Sat, 9 Dec 2006 22:48:33 +0000 (GMT) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kB9MnSKB096863; Sat, 9 Dec 2006 22:49:28 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kB9MnSun096862; Sat, 9 Dec 2006 22:49:28 GMT (envelope-from pjd) Message-Id: <200612092249.kB9MnSun096862@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Sat, 9 Dec 2006 22:49:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libc/sys truncate.2 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Dec 2006 22:50:08 -0000 pjd 2006-12-09 22:49:28 UTC FreeBSD src repository Modified files: lib/libc/sys truncate.2 Log: If the named file has its immutable or append-only flag set, truncate(2) and ftruncate(2) return EPERM. Note, that if the append-only flag is set even increasing size of the file is not permitted. Revision Changes Path 1.19 +6 -1 src/lib/libc/sys/truncate.2