From owner-freebsd-audit Mon Mar 17 7:14:57 2003 Delivered-To: freebsd-audit@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9D1137B401; Mon, 17 Mar 2003 07:14:55 -0800 (PST) Received: from mailgw.cscoms.com (mailgw.cscoms.com [202.183.255.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CBC443F3F; Mon, 17 Mar 2003 07:14:54 -0800 (PST) (envelope-from job2546@thaimail.com) Received: from cscoms.com (mail.cscoms.com [202.183.255.23]) by mailgw.cscoms.com (8.12.8/8.12.3) with ESMTP id h2HF1min061538; Mon, 17 Mar 2003 22:02:06 +0700 (ICT) Received: from ME (dial-144.ras-21.bkk.c.cscoms.com [203.170.145.144]) by cscoms.com (8.12.8/8.12.3) with SMTP id h2HEpswo024875; Mon, 17 Mar 2003 21:51:55 +0700 (GMT) Date: Mon, 17 Mar 2003 21:51:54 +0700 (GMT) Message-Id: <200303171451.h2HEpswo024875@cscoms.com> From: job2546@thaimail.com Subject: "ถ้าคุณยังทำสิ่งที่คุณทำอยู่วันนี้ พรุ่งนี้ก็จะเหมือนวันนี้ X-Priority: 1 (Highest) Reply-To: job2546@thaimail.com X-Mailer: Microsoft Outlook Express 5.00.2615.200 MIME-Version: 1.0 Content-type: multipart/mixed; boundary="#MYBOUNDARY#" X-Virus-Scanned: by amavisd-milter (http://amavis.org/) To: undisclosed-recipients: ; Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --#MYBOUNDARY# Content-Type: text/plain; charset=ansi Content-Transfer-Encoding: 8bit "หากคุณล้มเหลวที่จะวางแผน ย่อมแปลว่าคุณวางแผนที่จะล้มเหลว" จิม โรห์น นักปรัชญาอันดับ 1 ของโลก เช่น คุณคิดว่าในชีวิตนี้เราคงไม่มีทางรวย คุณก็ไจะไม่มีทางรวยเลย หรือ "คุณคิดว่าสักวันถึงฉันต้องรวยแน่ๆ" จิม โรห์น บอกว่า "ถ้าคุณยังทำสิ่งที่คุณทำอยู่ทุกวันนี้ อีก 3 ปีข้างหน้าลองคิดดูว่า คุณจะมีโอกาสรวยได้หรือไม่" "ถ้าคำตอบคือ ใช่ คุณกำลังจะรวย" ก็ยินดีกับคุณด้วยครับคุณกำลังจะรวยแล้ว "แต่ถ้าคำตอบคือ ไม่ คุณไม่สามารถรวยได้" คุณต้องเปลี่ยนอะไรสักอย่างในชีวิตคุณแล้ว จิม โรห์น บอกอีกว่า "ถ้าคุณยังทำสิ่งที่คุณทำอยู่วันนี้ พรุ่งนี้ก็จะเหมือนวันนี้ ไปเรื่อยๆไม่มีที่สิ้นสุด" หมายความว่า -ถ้าวันนี้คุณยังต้องวิ่งหาเงิน จ่ายหนี้ต่างๆ -ถ้าวันนี้คุณยังถูกเจ้านายกดขี่ ใช้งานอย่างหนัก -ถ้าวันนี้คุณยังหาทางออกไม่ได้ ลองเปิดโอกาสให้ตัวเองดู เปิดใจของคุณให้กว้างแล้วเดินตามเรามาหรือปล่อยให้โอกาสนี้หลุดลอยไป ============================================================ คุณสามารถเข้าไปดูรายละเอียดเพิ่มเติมและกรอกข้อมูลเพื่อขอรับข้อมูลเบื้องต้นฟรี ! ได้ที่ http://www.geocities.com/thaigetrich/easywork ============================================================ ขออภัยหากข้อความนี้ถูกส่งไปยังคุณโดยบังเอิญ หากคุณไม่ต้องการรับข้อความนี้อีกกรุณา mail มาที่ www.ecommerce.web1000.com/unsub --#MYBOUNDARY#-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Mon Mar 17 7:18: 2 2003 Delivered-To: freebsd-audit@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86D5F37B401; Mon, 17 Mar 2003 07:18:01 -0800 (PST) Received: from mailgw.cscoms.com (mailgw.cscoms.com [202.183.255.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46DDE43FDD; Mon, 17 Mar 2003 07:17:52 -0800 (PST) (envelope-from job2546@thaimail.com) Received: from cscoms.com (mail.cscoms.com [202.183.255.23]) by mailgw.cscoms.com (8.12.8/8.12.3) with ESMTP id h2HF2lip062355; Mon, 17 Mar 2003 22:04:22 +0700 (ICT) Received: from ME (dial-144.ras-21.bkk.c.cscoms.com [203.170.145.144]) by cscoms.com (8.12.8/8.12.3) with SMTP id h2HEprwo024865; Mon, 17 Mar 2003 21:51:54 +0700 (GMT) Date: Mon, 17 Mar 2003 21:51:53 +0700 (GMT) Message-Id: <200303171451.h2HEprwo024865@cscoms.com> From: job2546@thaimail.com Subject: "ถ้าคุณยังทำสิ่งที่คุณทำอยู่วันนี้ พรุ่งนี้ก็จะเหมือนวันนี้ X-Priority: 1 (Highest) Reply-To: job2546@thaimail.com X-Mailer: Microsoft Outlook Express 5.00.2615.200 MIME-Version: 1.0 Content-type: multipart/mixed; boundary="#MYBOUNDARY#" X-Virus-Scanned: by amavisd-milter (http://amavis.org/) To: undisclosed-recipients: ; Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --#MYBOUNDARY# Content-Type: text/plain; charset=ansi Content-Transfer-Encoding: 8bit "หากคุณล้มเหลวที่จะวางแผน ย่อมแปลว่าคุณวางแผนที่จะล้มเหลว" จิม โรห์น นักปรัชญาอันดับ 1 ของโลก เช่น คุณคิดว่าในชีวิตนี้เราคงไม่มีทางรวย คุณก็ไจะไม่มีทางรวยเลย หรือ "คุณคิดว่าสักวันถึงฉันต้องรวยแน่ๆ" จิม โรห์น บอกว่า "ถ้าคุณยังทำสิ่งที่คุณทำอยู่ทุกวันนี้ อีก 3 ปีข้างหน้าลองคิดดูว่า คุณจะมีโอกาสรวยได้หรือไม่" "ถ้าคำตอบคือ ใช่ คุณกำลังจะรวย" ก็ยินดีกับคุณด้วยครับคุณกำลังจะรวยแล้ว "แต่ถ้าคำตอบคือ ไม่ คุณไม่สามารถรวยได้" คุณต้องเปลี่ยนอะไรสักอย่างในชีวิตคุณแล้ว จิม โรห์น บอกอีกว่า "ถ้าคุณยังทำสิ่งที่คุณทำอยู่วันนี้ พรุ่งนี้ก็จะเหมือนวันนี้ ไปเรื่อยๆไม่มีที่สิ้นสุด" หมายความว่า -ถ้าวันนี้คุณยังต้องวิ่งหาเงิน จ่ายหนี้ต่างๆ -ถ้าวันนี้คุณยังถูกเจ้านายกดขี่ ใช้งานอย่างหนัก -ถ้าวันนี้คุณยังหาทางออกไม่ได้ ลองเปิดโอกาสให้ตัวเองดู เปิดใจของคุณให้กว้างแล้วเดินตามเรามาหรือปล่อยให้โอกาสนี้หลุดลอยไป ============================================================ คุณสามารถเข้าไปดูรายละเอียดเพิ่มเติมและกรอกข้อมูลเพื่อขอรับข้อมูลเบื้องต้นฟรี ! ได้ที่ http://www.geocities.com/thaigetrich/easywork ============================================================ ขออภัยหากข้อความนี้ถูกส่งไปยังคุณโดยบังเอิญ หากคุณไม่ต้องการรับข้อความนี้อีกกรุณา mail มาที่ www.ecommerce.web1000.com/unsub --#MYBOUNDARY#-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Mon Mar 17 12:12: 8 2003 Delivered-To: freebsd-audit@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9898737B401 for ; Mon, 17 Mar 2003 12:12:07 -0800 (PST) Received: from magellan.palisadesys.com (magellan.palisadesys.com [192.188.162.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDCBB43F93 for ; Mon, 17 Mar 2003 12:12:06 -0800 (PST) (envelope-from ghelmer@palisadesys.com) Received: from mira (mira.palisadesys.com [192.188.162.116]) (authenticated bits=0) by magellan.palisadesys.com (8.12.8/8.12.8) with ESMTP id h2HKC59S000492 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Mon, 17 Mar 2003 14:12:06 -0600 (CST) (envelope-from ghelmer@palisadesys.com) From: "Guy Helmer" To: Subject: /bin/sh flag NO_HISTORY Date: Mon, 17 Mar 2003 14:11:53 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Would it be OK to adjust /bin/sh's Makefile handle the definition -DNO_HISTORY such that the define NO_HISTORY is added to the CFLAGS and -ll, -ledit, and -ltermcap are not included in the libraries? It saves a lot of space for a bootable PicoBSD diskette. Something like this: --- /usr/src/bin/sh/Makefile Mon Mar 17 10:38:03 2003 +++ Makefile Mon Mar 17 10:34:07 2003 @@ -14,8 +14,12 @@ # utilities of the same name are handled with the associated manpage, # builtin.1 in share/man/man1/. +.if !defined(NO_HISTORY) DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP} LDADD+= -ll -ledit -ltermcap +.else +CFLAGS+=-DNO_HISTORY +.endif LFLAGS= -8 # 8-bit lex scanner for arithmetic CFLAGS+=-DSHELL -I. -I${.CURDIR} Guy Helmer, Ph.D., Sr. Software Engineer, Palisade Systems, Inc. http://www.palisadesys.com/~ghelmer/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Mon Mar 17 22: 5:41 2003 Delivered-To: freebsd-audit@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5686537B401 for ; Mon, 17 Mar 2003 22:05:30 -0800 (PST) Received: from pittgoth.com (14.zlnp1.xdsl.nauticom.net [209.195.149.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CD0143F85 for ; Mon, 17 Mar 2003 22:05:29 -0800 (PST) (envelope-from trhodes@FreeBSD.org) Received: from mobile.pittgoth.com ([192.168.0.5]) by pittgoth.com (8.12.8/8.12.8) with SMTP id h2I65SBG023401 for ; Tue, 18 Mar 2003 01:05:28 -0500 (EST) (envelope-from trhodes@FreeBSD.org) Date: Tue, 18 Mar 2003 01:04:33 -0500 From: Tom Rhodes To: FreeBSD-audit@FreeBSD.org Subject: [PATCH] Review Requested Message-Id: <20030318010433.7e2adea1.trhodes@FreeBSD.org> X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart_Tue__18_Mar_2003_01:04:33_-0500_08284c00" Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --Multipart_Tue__18_Mar_2003_01:04:33_-0500_08284c00 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit What does the -audit readers think of the following patch? -- Tom Rhodes Index: kern/vfs_mount.c =================================================================== RCS file: /home/ncvs/src/sys/kern/vfs_mount.c,v retrieving revision 1.103 diff -u -r1.103 vfs_mount.c --- kern/vfs_mount.c 22 Feb 2003 05:01:12 -0000 1.103 +++ kern/vfs_mount.c 17 Mar 2003 11:57:59 -0000 @@ -105,7 +105,8 @@ static void gets(char *cp); static int usermount = 0; /* if 1, non-root can mount fs. */ -SYSCTL_INT(_vfs, OID_AUTO, usermount, CTLFLAG_RW, &usermount, 0, ""); +SYSCTL_INT(_vfs, OID_AUTO, usermount, CTLFLAG_RW, &usermount, 0, + "Enable non-superuser mount privilege"); MALLOC_DEFINE(M_MOUNT, "mount", "vfs mount structure"); Index: kern/vfs_subr.c =================================================================== RCS file: /home/ncvs/src/sys/kern/vfs_subr.c,v retrieving revision 1.435 diff -u -r1.435 vfs_subr.c --- kern/vfs_subr.c 6 Mar 2003 03:41:01 -0000 1.435 +++ kern/vfs_subr.c 17 Mar 2003 12:16:29 -0000 @@ -90,7 +90,8 @@ */ static unsigned long numvnodes; -SYSCTL_LONG(_vfs, OID_AUTO, numvnodes, CTLFLAG_RD, &numvnodes, 0, ""); +SYSCTL_LONG(_vfs, OID_AUTO, numvnodes, CTLFLAG_RD, &numvnodes, 0, + "Number of vnodes in existence"); /* * Conversion tables for conversion from vnode types to inode formats @@ -115,10 +116,12 @@ * getnewvnode() will return a newly allocated vnode. */ static u_long wantfreevnodes = 25; -SYSCTL_LONG(_vfs, OID_AUTO, wantfreevnodes, CTLFLAG_RW, &wantfreevnodes, 0, ""); +SYSCTL_LONG(_vfs, OID_AUTO, wantfreevnodes, CTLFLAG_RW, &wantfreevnodes, 0, + "Minimum count of free vnodes"); /* Number of vnodes in the free list. */ static u_long freevnodes; -SYSCTL_LONG(_vfs, OID_AUTO, freevnodes, CTLFLAG_RD, &freevnodes, 0, ""); +SYSCTL_LONG(_vfs, OID_AUTO, freevnodes, CTLFLAG_RD, &freevnodes, 0, + "Number of vnodes in the free list"); /* * Various variables used for debugging the new implementation of @@ -205,11 +208,14 @@ static int syncer_maxdelay = SYNCER_MAXDELAY; /* maximum delay time */ static int syncdelay = 30; /* max time to delay syncing data */ static int filedelay = 30; /* time to delay syncing files */ -SYSCTL_INT(_kern, OID_AUTO, filedelay, CTLFLAG_RW, &filedelay, 0, ""); +SYSCTL_INT(_kern, OID_AUTO, filedelay, CTLFLAG_RW, &filedelay, 0, + "File synchornization delay in seconds"); static int dirdelay = 29; /* time to delay syncing directories */ -SYSCTL_INT(_kern, OID_AUTO, dirdelay, CTLFLAG_RW, &dirdelay, 0, ""); +SYSCTL_INT(_kern, OID_AUTO, dirdelay, CTLFLAG_RW, &dirdelay, 0, + "Directory synchronization delay in seconds"); static int metadelay = 28; /* time to delay syncing metadata */ -SYSCTL_INT(_kern, OID_AUTO, metadelay, CTLFLAG_RW, &metadelay, 0, ""); +SYSCTL_INT(_kern, OID_AUTO, metadelay, CTLFLAG_RW, &metadelay, 0, + "File system meta-data synchronization delay"); static int rushjob; /* number of slots to run ASAP */ static int stat_rush_requests; /* number of times I/O speeded up */ SYSCTL_INT(_debug, OID_AUTO, rush_requests, CTLFLAG_RW, &stat_rush_requests, 0, ""); @@ -595,7 +601,8 @@ static int timestamp_precision = TSP_SEC; SYSCTL_INT(_vfs, OID_AUTO, timestamp_precision, CTLFLAG_RW, - ×tamp_precision, 0, ""); + ×tamp_precision, 0, + "Precision control of file timestamps"); /* * Get a current timestamp. @@ -2331,7 +2338,8 @@ */ #ifdef DIAGNOSTIC static int busyprt = 0; /* print out busy vnodes */ -SYSCTL_INT(_debug, OID_AUTO, busyprt, CTLFLAG_RW, &busyprt, 0, ""); +SYSCTL_INT(_debug, OID_AUTO, busyprt, CTLFLAG_RW, &busyprt, 0, + "Print busy vnodes"); #endif int Index: ufs/ffs/ffs_alloc.c =================================================================== RCS file: /home/ncvs/src/sys/ufs/ffs/ffs_alloc.c,v retrieving revision 1.111 diff -u -r1.111 ffs_alloc.c --- ufs/ffs/ffs_alloc.c 4 Mar 2003 00:04:43 -0000 1.111 +++ ufs/ffs/ffs_alloc.c 17 Mar 2003 12:32:00 -0000 @@ -371,10 +371,12 @@ SYSCTL_NODE(_vfs, OID_AUTO, ffs, CTLFLAG_RW, 0, "FFS filesystem"); static int doasyncfree = 1; -SYSCTL_INT(_vfs_ffs, OID_AUTO, doasyncfree, CTLFLAG_RW, &doasyncfree, 0, ""); +SYSCTL_INT(_vfs_ffs, OID_AUTO, doasyncfree, CTLFLAG_RW, &doasyncfree, 0, + "Allow asynchronous writes"); static int doreallocblks = 1; -SYSCTL_INT(_vfs_ffs, OID_AUTO, doreallocblks, CTLFLAG_RW, &doreallocblks, 0, ""); +SYSCTL_INT(_vfs_ffs, OID_AUTO, doreallocblks, CTLFLAG_RW, &doreallocblks, 0, + "Enable block reallocation"); #ifdef DEBUG static volatile int prtrealloc = 0; Index: vm/vm_glue.c =================================================================== RCS file: /home/ncvs/src/sys/vm/vm_glue.c,v retrieving revision 1.163 diff -u -r1.163 vm_glue.c --- vm/vm_glue.c 21 Jan 2003 11:34:57 -0000 1.163 +++ vm/vm_glue.c 17 Mar 2003 12:38:24 -0000 @@ -674,7 +674,8 @@ */ static int swap_idle_threshold1 = 2; SYSCTL_INT(_vm, OID_AUTO, swap_idle_threshold1, - CTLFLAG_RW, &swap_idle_threshold1, 0, ""); + CTLFLAG_RW, &swap_idle_threshold1, 0, + "Guaranteed swapped in time for a process"); /* * Swap_idle_threshold2 is the time that a process can be idle before @@ -682,7 +683,8 @@ */ static int swap_idle_threshold2 = 10; SYSCTL_INT(_vm, OID_AUTO, swap_idle_threshold2, - CTLFLAG_RW, &swap_idle_threshold2, 0, ""); + CTLFLAG_RW, &swap_idle_threshold2, 0, + "Time in idle seconds before a process will be swapped out"); /* * Swapout is driven by the pageout daemon. Very simple, we find eligible Index: vm/vm_mmap.c =================================================================== RCS file: /home/ncvs/src/sys/vm/vm_mmap.c,v retrieving revision 1.155 diff -u -r1.155 vm_mmap.c --- vm/vm_mmap.c 13 Jan 2003 00:28:55 -0000 1.155 +++ vm/vm_mmap.c 17 Mar 2003 11:14:14 -0000 @@ -87,7 +87,8 @@ #endif static int max_proc_mmap; -SYSCTL_INT(_vm, OID_AUTO, max_proc_mmap, CTLFLAG_RW, &max_proc_mmap, 0, ""); +SYSCTL_INT(_vm, OID_AUTO, max_proc_mmap, CTLFLAG_RW, &max_proc_mmap, 0, + "Maximum number of mmap()'ed spaces"); /* * Set the maximum number of vm_map_entry structures per process. Roughly Index: vm/vm_swap.c =================================================================== RCS file: /home/ncvs/src/sys/vm/vm_swap.c,v retrieving revision 1.133 diff -u -r1.133 vm_swap.c --- vm/vm_swap.c 5 Mar 2003 23:50:15 -0000 1.133 +++ vm/vm_swap.c 17 Mar 2003 12:40:39 -0000 @@ -537,6 +537,6 @@ } SYSCTL_INT(_vm, OID_AUTO, nswapdev, CTLFLAG_RD, &nswdev, 0, - "Number of swap devices"); + "Maximum number of swap devices"); SYSCTL_NODE(_vm, OID_AUTO, swap_info, CTLFLAG_RD, sysctl_vm_swap_info, "Swap statistics by device"); Index: vm/vm_zeroidle.c =================================================================== RCS file: /home/ncvs/src/sys/vm/vm_zeroidle.c,v retrieving revision 1.18 diff -u -r1.18 vm_zeroidle.c --- vm/vm_zeroidle.c 12 Oct 2002 05:32:24 -0000 1.18 +++ vm/vm_zeroidle.c 17 Mar 2003 11:22:31 -0000 @@ -32,11 +32,13 @@ cnt_prezero, CTLFLAG_RD, &cnt_prezero, 0, ""); static int idlezero_enable = 1; -SYSCTL_INT(_vm, OID_AUTO, idlezero_enable, CTLFLAG_RW, &idlezero_enable, 0, ""); +SYSCTL_INT(_vm, OID_AUTO, idlezero_enable, CTLFLAG_RW, &idlezero_enable, 0, + "Enable/disable idle zeroing of pages"); TUNABLE_INT("vm.idlezero_enable", &idlezero_enable); static int idlezero_maxrun = 16; -SYSCTL_INT(_vm, OID_AUTO, idlezero_maxrun, CTLFLAG_RW, &idlezero_maxrun, 0, ""); +SYSCTL_INT(_vm, OID_AUTO, idlezero_maxrun, CTLFLAG_RW, &idlezero_maxrun, 0, + "Maximum iterations for idle zeroing of pages"); TUNABLE_INT("vm.idlezero_maxrun", &idlezero_maxrun); /* --Multipart_Tue__18_Mar_2003_01:04:33_-0500_08284c00 Content-Type: text/plain; name="tunables-desc.diff" Content-Disposition: attachment; filename="tunables-desc.diff" Content-Transfer-Encoding: 7bit Index: kern/vfs_mount.c =================================================================== RCS file: /home/ncvs/src/sys/kern/vfs_mount.c,v retrieving revision 1.103 diff -u -r1.103 vfs_mount.c --- kern/vfs_mount.c 22 Feb 2003 05:01:12 -0000 1.103 +++ kern/vfs_mount.c 17 Mar 2003 11:57:59 -0000 @@ -105,7 +105,8 @@ static void gets(char *cp); static int usermount = 0; /* if 1, non-root can mount fs. */ -SYSCTL_INT(_vfs, OID_AUTO, usermount, CTLFLAG_RW, &usermount, 0, ""); +SYSCTL_INT(_vfs, OID_AUTO, usermount, CTLFLAG_RW, &usermount, 0, + "Enable non-superuser mount privilege"); MALLOC_DEFINE(M_MOUNT, "mount", "vfs mount structure"); Index: kern/vfs_subr.c =================================================================== RCS file: /home/ncvs/src/sys/kern/vfs_subr.c,v retrieving revision 1.435 diff -u -r1.435 vfs_subr.c --- kern/vfs_subr.c 6 Mar 2003 03:41:01 -0000 1.435 +++ kern/vfs_subr.c 17 Mar 2003 12:16:29 -0000 @@ -90,7 +90,8 @@ */ static unsigned long numvnodes; -SYSCTL_LONG(_vfs, OID_AUTO, numvnodes, CTLFLAG_RD, &numvnodes, 0, ""); +SYSCTL_LONG(_vfs, OID_AUTO, numvnodes, CTLFLAG_RD, &numvnodes, 0, + "Number of vnodes in existence"); /* * Conversion tables for conversion from vnode types to inode formats @@ -115,10 +116,12 @@ * getnewvnode() will return a newly allocated vnode. */ static u_long wantfreevnodes = 25; -SYSCTL_LONG(_vfs, OID_AUTO, wantfreevnodes, CTLFLAG_RW, &wantfreevnodes, 0, ""); +SYSCTL_LONG(_vfs, OID_AUTO, wantfreevnodes, CTLFLAG_RW, &wantfreevnodes, 0, + "Minimum count of free vnodes"); /* Number of vnodes in the free list. */ static u_long freevnodes; -SYSCTL_LONG(_vfs, OID_AUTO, freevnodes, CTLFLAG_RD, &freevnodes, 0, ""); +SYSCTL_LONG(_vfs, OID_AUTO, freevnodes, CTLFLAG_RD, &freevnodes, 0, + "Number of vnodes in the free list"); /* * Various variables used for debugging the new implementation of @@ -205,11 +208,14 @@ static int syncer_maxdelay = SYNCER_MAXDELAY; /* maximum delay time */ static int syncdelay = 30; /* max time to delay syncing data */ static int filedelay = 30; /* time to delay syncing files */ -SYSCTL_INT(_kern, OID_AUTO, filedelay, CTLFLAG_RW, &filedelay, 0, ""); +SYSCTL_INT(_kern, OID_AUTO, filedelay, CTLFLAG_RW, &filedelay, 0, + "File synchornization delay in seconds"); static int dirdelay = 29; /* time to delay syncing directories */ -SYSCTL_INT(_kern, OID_AUTO, dirdelay, CTLFLAG_RW, &dirdelay, 0, ""); +SYSCTL_INT(_kern, OID_AUTO, dirdelay, CTLFLAG_RW, &dirdelay, 0, + "Directory synchronization delay in seconds"); static int metadelay = 28; /* time to delay syncing metadata */ -SYSCTL_INT(_kern, OID_AUTO, metadelay, CTLFLAG_RW, &metadelay, 0, ""); +SYSCTL_INT(_kern, OID_AUTO, metadelay, CTLFLAG_RW, &metadelay, 0, + "File system meta-data synchronization delay"); static int rushjob; /* number of slots to run ASAP */ static int stat_rush_requests; /* number of times I/O speeded up */ SYSCTL_INT(_debug, OID_AUTO, rush_requests, CTLFLAG_RW, &stat_rush_requests, 0, ""); @@ -595,7 +601,8 @@ static int timestamp_precision = TSP_SEC; SYSCTL_INT(_vfs, OID_AUTO, timestamp_precision, CTLFLAG_RW, - ×tamp_precision, 0, ""); + ×tamp_precision, 0, + "Precision control of file timestamps"); /* * Get a current timestamp. @@ -2331,7 +2338,8 @@ */ #ifdef DIAGNOSTIC static int busyprt = 0; /* print out busy vnodes */ -SYSCTL_INT(_debug, OID_AUTO, busyprt, CTLFLAG_RW, &busyprt, 0, ""); +SYSCTL_INT(_debug, OID_AUTO, busyprt, CTLFLAG_RW, &busyprt, 0, + "Print busy vnodes"); #endif int Index: ufs/ffs/ffs_alloc.c =================================================================== RCS file: /home/ncvs/src/sys/ufs/ffs/ffs_alloc.c,v retrieving revision 1.111 diff -u -r1.111 ffs_alloc.c --- ufs/ffs/ffs_alloc.c 4 Mar 2003 00:04:43 -0000 1.111 +++ ufs/ffs/ffs_alloc.c 17 Mar 2003 12:32:00 -0000 @@ -371,10 +371,12 @@ SYSCTL_NODE(_vfs, OID_AUTO, ffs, CTLFLAG_RW, 0, "FFS filesystem"); static int doasyncfree = 1; -SYSCTL_INT(_vfs_ffs, OID_AUTO, doasyncfree, CTLFLAG_RW, &doasyncfree, 0, ""); +SYSCTL_INT(_vfs_ffs, OID_AUTO, doasyncfree, CTLFLAG_RW, &doasyncfree, 0, + "Allow asynchronous writes"); static int doreallocblks = 1; -SYSCTL_INT(_vfs_ffs, OID_AUTO, doreallocblks, CTLFLAG_RW, &doreallocblks, 0, ""); +SYSCTL_INT(_vfs_ffs, OID_AUTO, doreallocblks, CTLFLAG_RW, &doreallocblks, 0, + "Enable block reallocation"); #ifdef DEBUG static volatile int prtrealloc = 0; Index: vm/vm_glue.c =================================================================== RCS file: /home/ncvs/src/sys/vm/vm_glue.c,v retrieving revision 1.163 diff -u -r1.163 vm_glue.c --- vm/vm_glue.c 21 Jan 2003 11:34:57 -0000 1.163 +++ vm/vm_glue.c 17 Mar 2003 12:38:24 -0000 @@ -674,7 +674,8 @@ */ static int swap_idle_threshold1 = 2; SYSCTL_INT(_vm, OID_AUTO, swap_idle_threshold1, - CTLFLAG_RW, &swap_idle_threshold1, 0, ""); + CTLFLAG_RW, &swap_idle_threshold1, 0, + "Guaranteed swapped in time for a process"); /* * Swap_idle_threshold2 is the time that a process can be idle before @@ -682,7 +683,8 @@ */ static int swap_idle_threshold2 = 10; SYSCTL_INT(_vm, OID_AUTO, swap_idle_threshold2, - CTLFLAG_RW, &swap_idle_threshold2, 0, ""); + CTLFLAG_RW, &swap_idle_threshold2, 0, + "Time in idle seconds before a process will be swapped out"); /* * Swapout is driven by the pageout daemon. Very simple, we find eligible Index: vm/vm_mmap.c =================================================================== RCS file: /home/ncvs/src/sys/vm/vm_mmap.c,v retrieving revision 1.155 diff -u -r1.155 vm_mmap.c --- vm/vm_mmap.c 13 Jan 2003 00:28:55 -0000 1.155 +++ vm/vm_mmap.c 17 Mar 2003 11:14:14 -0000 @@ -87,7 +87,8 @@ #endif static int max_proc_mmap; -SYSCTL_INT(_vm, OID_AUTO, max_proc_mmap, CTLFLAG_RW, &max_proc_mmap, 0, ""); +SYSCTL_INT(_vm, OID_AUTO, max_proc_mmap, CTLFLAG_RW, &max_proc_mmap, 0, + "Maximum number of mmap()'ed spaces"); /* * Set the maximum number of vm_map_entry structures per process. Roughly Index: vm/vm_swap.c =================================================================== RCS file: /home/ncvs/src/sys/vm/vm_swap.c,v retrieving revision 1.133 diff -u -r1.133 vm_swap.c --- vm/vm_swap.c 5 Mar 2003 23:50:15 -0000 1.133 +++ vm/vm_swap.c 17 Mar 2003 12:40:39 -0000 @@ -537,6 +537,6 @@ } SYSCTL_INT(_vm, OID_AUTO, nswapdev, CTLFLAG_RD, &nswdev, 0, - "Number of swap devices"); + "Maximum number of swap devices"); SYSCTL_NODE(_vm, OID_AUTO, swap_info, CTLFLAG_RD, sysctl_vm_swap_info, "Swap statistics by device"); Index: vm/vm_zeroidle.c =================================================================== RCS file: /home/ncvs/src/sys/vm/vm_zeroidle.c,v retrieving revision 1.18 diff -u -r1.18 vm_zeroidle.c --- vm/vm_zeroidle.c 12 Oct 2002 05:32:24 -0000 1.18 +++ vm/vm_zeroidle.c 17 Mar 2003 11:22:31 -0000 @@ -32,11 +32,13 @@ cnt_prezero, CTLFLAG_RD, &cnt_prezero, 0, ""); static int idlezero_enable = 1; -SYSCTL_INT(_vm, OID_AUTO, idlezero_enable, CTLFLAG_RW, &idlezero_enable, 0, ""); +SYSCTL_INT(_vm, OID_AUTO, idlezero_enable, CTLFLAG_RW, &idlezero_enable, 0, + "Enable/disable idle zeroing of pages"); TUNABLE_INT("vm.idlezero_enable", &idlezero_enable); static int idlezero_maxrun = 16; -SYSCTL_INT(_vm, OID_AUTO, idlezero_maxrun, CTLFLAG_RW, &idlezero_maxrun, 0, ""); +SYSCTL_INT(_vm, OID_AUTO, idlezero_maxrun, CTLFLAG_RW, &idlezero_maxrun, 0, + "Maximum iterations for idle zeroing of pages"); TUNABLE_INT("vm.idlezero_maxrun", &idlezero_maxrun); /* --Multipart_Tue__18_Mar_2003_01:04:33_-0500_08284c00-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Tue Mar 18 1:55:13 2003 Delivered-To: freebsd-audit@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 987FB37B401 for ; Tue, 18 Mar 2003 01:55:12 -0800 (PST) Received: from gvr.gvr.org (gvr.gvr.org [212.61.40.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37EC543FB1 for ; Tue, 18 Mar 2003 01:55:11 -0800 (PST) (envelope-from guido@gvr.org) Received: by gvr.gvr.org (Postfix, from userid 657) id 843521A; Tue, 18 Mar 2003 10:55:09 +0100 (CET) Date: Tue, 18 Mar 2003 10:55:09 +0100 From: Guido van Rooij To: Guy Helmer Cc: audit@freebsd.org Subject: Re: /bin/sh flag NO_HISTORY Message-ID: <20030318095509.GA70239@gvr.gvr.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Mar 17, 2003 at 02:11:53PM -0600, Guy Helmer wrote: > --- /usr/src/bin/sh/Makefile Mon Mar 17 10:38:03 2003 > +++ Makefile Mon Mar 17 10:34:07 2003 > @@ -14,8 +14,12 @@ > # utilities of the same name are handled with the associated manpage, > # builtin.1 in share/man/man1/. > > +.if !defined(NO_HISTORY) > DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP} > LDADD+= -ll -ledit -ltermcap > +.else > +CFLAGS+=-DNO_HISTORY > +.endif Could you please do this the other way around: .if defined(NO_HISTORY) CFLAGS+=-DNO_HISTORY .else DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP} LDADD+= -ll -ledit -ltermcap .endif I think double negations don't add in readbility. -Guido To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Tue Mar 18 2:24:54 2003 Delivered-To: freebsd-audit@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24F2F37B401; Tue, 18 Mar 2003 02:24:54 -0800 (PST) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81D1043F75; Tue, 18 Mar 2003 02:24:53 -0800 (PST) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 86E025308; Tue, 18 Mar 2003 11:24:50 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Tom Rhodes Cc: FreeBSD-audit@FreeBSD.org Subject: Re: [PATCH] Review Requested From: des@ofug.org (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Tue, 18 Mar 2003 11:24:50 +0100 In-Reply-To: <20030318010433.7e2adea1.trhodes@FreeBSD.org> (Tom Rhodes's message of "Tue, 18 Mar 2003 01:04:33 -0500") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: <20030318010433.7e2adea1.trhodes@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Tom Rhodes writes: > What does the -audit readers think of the following patch? Good work, go for it. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Tue Mar 18 2:40:41 2003 Delivered-To: freebsd-audit@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 712BB37B401; Tue, 18 Mar 2003 02:40:40 -0800 (PST) Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF95743FB1; Tue, 18 Mar 2003 02:40:38 -0800 (PST) (envelope-from Alexander@Leidinger.net) Received: from fwd11.sul.t-online.de by mailout06.sul.t-online.com with smtp id 18vEWJ-0003LH-00; Tue, 18 Mar 2003 11:40:35 +0100 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[80.131.120.51]) by fmrl11.sul.t-online.com with esmtp id 18vEWC-07DwfYC; Tue, 18 Mar 2003 11:40:28 +0100 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.12.6/8.12.6) with ESMTP id h2IAeQOq032548; Tue, 18 Mar 2003 11:40:27 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magelan.Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.7/8.12.7) with SMTP id h2IAeQB0001456; Tue, 18 Mar 2003 11:40:26 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Tue, 18 Mar 2003 11:40:26 +0100 From: Alexander Leidinger To: Tom Rhodes Cc: FreeBSD-audit@FreeBSD.ORG Subject: Re: [PATCH] Review Requested Message-Id: <20030318114026.0d52f5c7.Alexander@Leidinger.net> In-Reply-To: <20030318010433.7e2adea1.trhodes@FreeBSD.org> References: <20030318010433.7e2adea1.trhodes@FreeBSD.org> X-Mailer: Sylpheed version 0.8.9claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 18 Mar 2003 01:04:33 -0500 Tom Rhodes wrote: > What does the -audit readers think of the following patch? Does anyone think that adding references to man-pages where the MIB is described would be a good idea? Bye, Alexander. -- Reboot America. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Tue Mar 18 2:52: 5 2003 Delivered-To: freebsd-audit@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3FBA37B401; Tue, 18 Mar 2003 02:52:03 -0800 (PST) Received: from trillian.nitro.dk (port324.ds1-khk.adsl.cybercity.dk [212.242.113.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D4AC43FBD; Tue, 18 Mar 2003 02:52:02 -0800 (PST) (envelope-from simon@trillian.nitro.dk) Received: by trillian.nitro.dk (Postfix, from userid 1000) id 10CE92E02E; Tue, 18 Mar 2003 11:51:59 +0100 (CET) Date: Tue, 18 Mar 2003 11:51:59 +0100 From: "Simon L. Nielsen" To: Alexander Leidinger Cc: Tom Rhodes , FreeBSD-audit@FreeBSD.ORG Subject: Re: [PATCH] Review Requested Message-ID: <20030318105158.GA52064@nitro.dk> References: <20030318010433.7e2adea1.trhodes@FreeBSD.org> <20030318114026.0d52f5c7.Alexander@Leidinger.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: <20030318114026.0d52f5c7.Alexander@Leidinger.net> User-Agent: Mutt/1.5.3i Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2003.03.18 11:40:26 +0100, Alexander Leidinger wrote: > On Tue, 18 Mar 2003 01:04:33 -0500 > Tom Rhodes wrote: >=20 > > What does the -audit readers think of the following patch? >=20 > Does anyone think that adding references to man-pages where the MIB > is described would be a good idea? I personally think it would be a very good idea. When reading through the patch I did wonder what a few of the sysctl's were supposed to do. --=20 Simon L. Nielsen --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+dvpO8kocFXgPTRwRAm1lAJ9EuMV9MWKauT1aY6zz4eWpkM31VQCgpFmh 45ddVaB+PzpQjDYj8YfRiU8= =aO9L -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Tue Mar 18 4: 7:50 2003 Delivered-To: freebsd-audit@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C13237B401 for ; Tue, 18 Mar 2003 04:07:49 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1715643FA3 for ; Tue, 18 Mar 2003 04:07:48 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id XAA04086; Tue, 18 Mar 2003 23:07:27 +1100 Date: Tue, 18 Mar 2003 23:07:25 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Guido van Rooij Cc: Guy Helmer , "" Subject: Re: /bin/sh flag NO_HISTORY In-Reply-To: <20030318095509.GA70239@gvr.gvr.org> Message-ID: <20030318225521.M4509@gamplex.bde.org> References: <20030318095509.GA70239@gvr.gvr.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 18 Mar 2003, Guido van Rooij wrote: > On Mon, Mar 17, 2003 at 02:11:53PM -0600, Guy Helmer wrote: > > --- /usr/src/bin/sh/Makefile Mon Mar 17 10:38:03 2003 > > +++ Makefile Mon Mar 17 10:34:07 2003 > > @@ -14,8 +14,12 @@ > > # utilities of the same name are handled with the associated manpage, > > # builtin.1 in share/man/man1/. > > > > +.if !defined(NO_HISTORY) > > DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP} > > LDADD+= -ll -ledit -ltermcap > > +.else > > +CFLAGS+=-DNO_HISTORY > > +.endif > > Could you please do this the other way around: > .if defined(NO_HISTORY) > CFLAGS+=-DNO_HISTORY > .else > DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP} > LDADD+= -ll -ledit -ltermcap > .endif > > I think double negations don't add in readbility. I agree with supporting NO_HISTORY in some way and not using double negatives. However, it's not really necessary to provide a global knob for every possible -D option. I sometimes test compiling sh with -DNO_HISTORY (too see how much bloatier the library bloat has become). I just use something like "make CC='cc -DNOHISTORY'". For more global builds like picobsd it would be better to hack on COPTS and fix COPTS to work right. I think removing unused libraries from the command line has no effect, at least for static linkage, so a knob outside of CC/CFLAGS/COPTS is not needed. Removing the used library libl has the effect of breaking the build. libl has nothing to do with history. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Tue Mar 18 6:40:36 2003 Delivered-To: freebsd-audit@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5A9C37B401 for ; Tue, 18 Mar 2003 06:40:34 -0800 (PST) Received: from magellan.palisadesys.com (magellan.palisadesys.com [192.188.162.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1634043FA3 for ; Tue, 18 Mar 2003 06:40:34 -0800 (PST) (envelope-from ghelmer@palisadesys.com) Received: from mira (mira.palisadesys.com [192.188.162.116]) (authenticated bits=0) by magellan.palisadesys.com (8.12.8/8.12.8) with ESMTP id h2IEeR9S042578 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Tue, 18 Mar 2003 08:40:33 -0600 (CST) (envelope-from ghelmer@palisadesys.com) From: "Guy Helmer" To: "Bruce Evans" , "Guido van Rooij" Cc: Subject: RE: /bin/sh flag NO_HISTORY Date: Tue, 18 Mar 2003 08:40:26 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal In-Reply-To: <20030318225521.M4509@gamplex.bde.org> Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 18 Mar 2003, Bruce Evans wrote: > > On Tue, 18 Mar 2003, Guido van Rooij wrote: > > > On Mon, Mar 17, 2003 at 02:11:53PM -0600, Guy Helmer wrote: > > > --- /usr/src/bin/sh/Makefile Mon Mar 17 10:38:03 2003 > > > +++ Makefile Mon Mar 17 10:34:07 2003 > > > @@ -14,8 +14,12 @@ > > > # utilities of the same name are handled with the associated manpage, > > > # builtin.1 in share/man/man1/. > > > > > > +.if !defined(NO_HISTORY) > > > DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP} > > > LDADD+= -ll -ledit -ltermcap > > > +.else > > > +CFLAGS+=-DNO_HISTORY > > > +.endif > > > > Could you please do this the other way around: > > .if defined(NO_HISTORY) > > CFLAGS+=-DNO_HISTORY > > .else > > DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP} > > LDADD+= -ll -ledit -ltermcap > > .endif > > > > I think double negations don't add in readbility. > > I agree with supporting NO_HISTORY in some way and not using double > negatives. > > However, it's not really necessary to provide a global knob for every > possible -D option. I sometimes test compiling sh with -DNO_HISTORY > (too see how much bloatier the library bloat has become). I just use > something like "make CC='cc -DNOHISTORY'". For more global builds > like picobsd it would be better to hack on COPTS and fix COPTS to work > right. > > I think removing unused libraries from the command line has no effect, > at least for static linkage, so a knob outside of CC/CFLAGS/COPTS is not > needed. Removing the used library libl has the effect of breaking the > build. libl has nothing to do with history. Good points, and thanks for the hint on redefining CC. I usually look at the Makefiles first for knobs like this because I assume if there are knobs in them, they are knobs that ought to work. If I have to look deeper into the source for knobs, I assume they may not be operational because they aren't "published". I haven't looked, but is NO_HISTORY used elsewhere? If so, perhaps it would be a good candidate for a global knob to reduce bloat in a build... Unless others think that adding the NO_HISTORY knob to the Makefile would be good, I'll just drop this. Thanks again, Guy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Tue Mar 18 6:44:15 2003 Delivered-To: freebsd-audit@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63CA837B401 for ; Tue, 18 Mar 2003 06:44:14 -0800 (PST) Received: from pittgoth.com (14.zlnp1.xdsl.nauticom.net [209.195.149.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D56B43F75 for ; Tue, 18 Mar 2003 06:44:13 -0800 (PST) (envelope-from trhodes@FreeBSD.org) Received: from mobile.pittgoth.com ([192.168.0.5]) by pittgoth.com (8.12.8/8.12.8) with SMTP id h2IEiBBG024483; Tue, 18 Mar 2003 09:44:12 -0500 (EST) (envelope-from trhodes@FreeBSD.org) Date: Tue, 18 Mar 2003 09:43:11 -0500 From: Tom Rhodes To: "Simon L. Nielsen" Cc: Alexander@Leidinger.net, FreeBSD-audit@FreeBSD.org Subject: Re: [PATCH] Review Requested Message-Id: <20030318094311.478d3db6.trhodes@FreeBSD.org> In-Reply-To: <20030318105158.GA52064@nitro.dk> References: <20030318010433.7e2adea1.trhodes@FreeBSD.org> <20030318114026.0d52f5c7.Alexander@Leidinger.net> <20030318105158.GA52064@nitro.dk> X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 18 Mar 2003 11:51:59 +0100 "Simon L. Nielsen" wrote: > On 2003.03.18 11:40:26 +0100, Alexander Leidinger wrote: > > On Tue, 18 Mar 2003 01:04:33 -0500 > > Tom Rhodes wrote: > > > > > What does the -audit readers think of the following patch? > > > > Does anyone think that adding references to man-pages where the MIB > > is described would be a good idea? > > I personally think it would be a very good idea. When reading through > the patch I did wonder what a few of the sysctl's were supposed to do. > > -- > Simon L. Nielsen > This is my current project, but many in the system need descriptions also. -- Tom Rhodes To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Tue Mar 18 9: 5: 9 2003 Delivered-To: freebsd-audit@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 586AA37B401 for ; Tue, 18 Mar 2003 09:05:08 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37E2043FA3 for ; Tue, 18 Mar 2003 09:05:07 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id EAA23575; Wed, 19 Mar 2003 04:04:49 +1100 Date: Wed, 19 Mar 2003 04:04:49 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Guy Helmer Cc: Guido van Rooij , "" Subject: RE: /bin/sh flag NO_HISTORY In-Reply-To: Message-ID: <20030319035806.Y5708@gamplex.bde.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 18 Mar 2003, Guy Helmer wrote: > On Tue, 18 Mar 2003, Bruce Evans wrote: > > However, it's not really necessary to provide a global knob for every > > possible -D option. I sometimes test compiling sh with -DNO_HISTORY > > (too see how much bloatier the library bloat has become). I just use > > something like "make CC='cc -DNOHISTORY'". For more global builds > > like picobsd it would be better to hack on COPTS and fix COPTS to work > > right. I meant to say that it is better to hack on COPTS than CC. First class support for NOHISTORY in sh/Makefile might be better than hacks. It depends on whether you think it is generally useful. I forgot to say that NO_HISTORY is a poor name for a global variable either way. > I usually look at the Makefiles first for knobs like this because I assume > if there are knobs in them, they are knobs that ought to work. If I have > to look deeper into the source for knobs, I assume they may not be > operational because they aren't "published". > > I haven't looked, but is NO_HISTORY used elsewhere? If so, perhaps it would > be a good candidate for a global knob to reduce bloat in a build... FreeBSD never defined it AFAIK. It's surprising that it still works. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Tue Mar 18 10:33:19 2003 Delivered-To: freebsd-audit@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 871C337B404; Tue, 18 Mar 2003 10:33:16 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DC8D43FA3; Tue, 18 Mar 2003 10:33:14 -0800 (PST) (envelope-from keramida@FreeBSD.org) Received: from gothmog.gr (patr530-a107.otenet.gr [212.205.215.107]) by mailsrv.otenet.gr (8.12.8/8.12.8) with ESMTP id h2IIX95u021477; Tue, 18 Mar 2003 20:33:10 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.8/8.12.8) with ESMTP id h2IIX7pY000711; Tue, 18 Mar 2003 20:33:07 +0200 (EET) (envelope-from keramida@FreeBSD.org) Received: (from giorgos@localhost) by gothmog.gr (8.12.8/8.12.8/Submit) id h2IC26F0032974; Tue, 18 Mar 2003 14:02:06 +0200 (EET) (envelope-from keramida@FreeBSD.org) Date: Tue, 18 Mar 2003 14:02:06 +0200 From: Giorgos Keramidas To: Tom Rhodes Cc: FreeBSD-audit@FreeBSD.org Subject: Re: [PATCH] Review Requested Message-ID: <20030318120206.GD25064@gothmog.gr> References: <20030318010433.7e2adea1.trhodes@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030318010433.7e2adea1.trhodes@FreeBSD.org> X-RAVMilter-Version: 8.4.2(snapshot 20021217) (terpsi) Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2003-03-18 01:04, Tom Rhodes wrote: > What does the -audit readers think of the following patch? Fun! I see the sysctls that don't have a description are actively being attacked already :') > static u_long wantfreevnodes = 25; > -SYSCTL_LONG(_vfs, OID_AUTO, wantfreevnodes, CTLFLAG_RW, > &wantfreevnodes, 0, ""); > +SYSCTL_LONG(_vfs, OID_AUTO, wantfreevnodes, CTLFLAG_RW, > &wantfreevnodes, 0, > + "Minimum count of free vnodes"); X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Evil(TM) mailer-wrapping here, right? Watch out for those GUI mailers that have the nasty habit of finding amusement in the destruction of otherwise fine work :) > @@ -205,11 +208,14 @@ > static int syncer_maxdelay = SYNCER_MAXDELAY; /* maximum delay time */ > static int syncdelay = 30; /* max time to delay syncing data */ > static int filedelay = 30; /* time to delay syncing files */ > -SYSCTL_INT(_kern, OID_AUTO, filedelay, CTLFLAG_RW, &filedelay, 0, ""); > +SYSCTL_INT(_kern, OID_AUTO, filedelay, CTLFLAG_RW, &filedelay, 0, > + "File synchornization delay in seconds"); Typo -----------> ^^ s/synchorn/synchron/ > static int max_proc_mmap; > -SYSCTL_INT(_vm, OID_AUTO, max_proc_mmap, CTLFLAG_RW, &max_proc_mmap, 0, > ""); > +SYSCTL_INT(_vm, OID_AUTO, max_proc_mmap, CTLFLAG_RW, &max_proc_mmap, 0, > + "Maximum number of mmap()'ed spaces"); "Maximum number of mmap'ed areas per process" ? > Index: vm/vm_zeroidle.c > =================================================================== > RCS file: /home/ncvs/src/sys/vm/vm_zeroidle.c,v > retrieving revision 1.18 > diff -u -r1.18 vm_zeroidle.c > --- vm/vm_zeroidle.c 12 Oct 2002 05:32:24 -0000 1.18 > +++ vm/vm_zeroidle.c 17 Mar 2003 11:22:31 -0000 > @@ -32,11 +32,13 @@ > cnt_prezero, CTLFLAG_RD, &cnt_prezero, 0, ""); > > static int idlezero_enable = 1; > -SYSCTL_INT(_vm, OID_AUTO, idlezero_enable, CTLFLAG_RW, > &idlezero_enable, 0, ""); > +SYSCTL_INT(_vm, OID_AUTO, idlezero_enable, CTLFLAG_RW, > &idlezero_enable, 0, > + "Enable/disable idle zeroing of pages"); "free pages". If I'm reading the code correctly, this enables the pagezero kernel task that runs asynchronously in the background with RTP_PRIO_IDLE priority. When the system is idle, the pagezero task takes over and zeroes out pages from the free list stopping its run after zeroing at most idlezero_maxrun or when a process becomes runnable. "Enable zeroing out of free virtual memory pages when idle." perhaps? > TUNABLE_INT("vm.idlezero_enable", &idlezero_enable); > > static int idlezero_maxrun = 16; > -SYSCTL_INT(_vm, OID_AUTO, idlezero_maxrun, CTLFLAG_RW, > &idlezero_maxrun, 0, ""); > +SYSCTL_INT(_vm, OID_AUTO, idlezero_maxrun, CTLFLAG_RW, > &idlezero_maxrun, 0, > + "Maximum iterations for idle zeroing of pages"); "Maximum number of pages to zero out in one run of (pagezero)." ?? > -SYSCTL_LONG(_vfs, OID_AUTO, wantfreevnodes, CTLFLAG_RW, &wantfreevnodes, 0, ""); > +SYSCTL_LONG(_vfs, OID_AUTO, wantfreevnodes, CTLFLAG_RW, &wantfreevnodes, 0, > + "Minimum count of free vnodes"); > /* Number of vnodes in the free list. */ > static u_long freevnodes; > -SYSCTL_LONG(_vfs, OID_AUTO, freevnodes, CTLFLAG_RD, &freevnodes, 0, ""); > +SYSCTL_LONG(_vfs, OID_AUTO, freevnodes, CTLFLAG_RD, &freevnodes, 0, > + "Number of vnodes in the free list"); These seem to state the obvious, which is redundant if one already knows the name of the sysctl :-/ > #ifdef DIAGNOSTIC > static int busyprt = 0; /* print out busy vnodes */ > -SYSCTL_INT(_debug, OID_AUTO, busyprt, CTLFLAG_RW, &busyprt, 0, ""); > +SYSCTL_INT(_debug, OID_AUTO, busyprt, CTLFLAG_RW, &busyprt, 0, > + "Print busy vnodes"); When? I mean when will the busy vnodes be printed? There is a lot of space until the description reaches 80 cols. If we're to add a description here, any details we can add are good. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Tue Mar 18 10:41:38 2003 Delivered-To: freebsd-audit@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AFE937B401; Tue, 18 Mar 2003 10:41:38 -0800 (PST) Received: from pittgoth.com (14.zlnp1.xdsl.nauticom.net [209.195.149.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD2A943F93; Tue, 18 Mar 2003 10:41:36 -0800 (PST) (envelope-from trhodes@FreeBSD.org) Received: from mobile.pittgoth.com (acs-24-154-229-196.zoominternet.net [24.154.229.196]) by pittgoth.com (8.12.8/8.12.8) with SMTP id h2IIfZBG024979; Tue, 18 Mar 2003 13:41:35 -0500 (EST) (envelope-from trhodes@FreeBSD.org) Date: Tue, 18 Mar 2003 13:40:39 -0500 From: Tom Rhodes To: Giorgos Keramidas Cc: FreeBSD-audit@FreeBSD.org Subject: Re: [PATCH] Review Requested Message-Id: <20030318134039.17227772.trhodes@FreeBSD.org> In-Reply-To: <20030318120206.GD25064@gothmog.gr> References: <20030318010433.7e2adea1.trhodes@FreeBSD.org> <20030318120206.GD25064@gothmog.gr> X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 18 Mar 2003 14:02:06 +0200 Giorgos Keramidas wrote: > > There is a lot of space until the description reaches 80 cols. > If we're to add a description here, any details we can add are good. > > I also have a few comments from bde, which I'll integrate into my new patch. Thanks for taking a look Giorgos! -- Tom Rhodes To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Wed Mar 19 7:19:24 2003 Delivered-To: freebsd-audit@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A26E537B401 for ; Wed, 19 Mar 2003 07:19:22 -0800 (PST) Received: from mailgw.cscoms.com (mailgw.cscoms.com [202.183.255.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AE2E43F75 for ; Wed, 19 Mar 2003 07:19:21 -0800 (PST) (envelope-from wowwwhealthy@thaimail.com) Received: from cscoms.com (mail.cscoms.com [202.183.255.23]) by mailgw.cscoms.com (8.12.8/8.12.3) with ESMTP id h2JFDRil015126; Wed, 19 Mar 2003 22:13:28 +0700 (ICT) Received: from ME (dial-255.ras-7.bkk.c.cscoms.com [203.170.141.193]) by cscoms.com (8.12.8/8.12.3) with SMTP id h2JF9swo010449; Wed, 19 Mar 2003 22:09:55 +0700 (GMT) Date: Wed, 19 Mar 2003 22:09:54 +0700 (GMT) Message-Id: <200303191509.h2JF9swo010449@cscoms.com> From: wowwwhealthy@thaimail.com Subject: ท่านทราบหรือไม่ว่าคนอ้วนจะเสี่ยงต่อการเป็นเบาหวานมากกว่าคนน้ำหนักปกติถึง 30 เท่า X-Priority: 1 (Highest) Reply-To: wowwwhealthy@thaimail.com X-Mailer: Microsoft Outlook Express 5.00.2615.200 MIME-Version: 1.0 Content-type: multipart/mixed; boundary="#MYBOUNDARY#" X-Virus-Scanned: by amavisd-milter (http://amavis.org/) To: undisclosed-recipients: ; Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --#MYBOUNDARY# Content-Type: text/plain; charset=ansi Content-Transfer-Encoding: 8bit คนไทยกำลังเป็นโรคอ้วนมากขึ้นทุกที พ.อ.หญิง รศ. พ.ญ. พรฑิตา ชัยอำนวย ผู้อำนวยการเวชศาสตร์ฟื้นฟู โรงพยาบาลพระมงกุฏเกล้า บรรยายเรื่อง "กินอย่างไรให้ห่างไกลโรคหัวใจและโรคอ้วน" ในตอนหนึ่งของการบรรยาย ผู้บรรยายกล่าวว่า "สิ่งที่พึงตระหนักคือ ผู้ชายไม่ควรให้รอบเอวเกิน 36 นิ้ว หญิงไม่ควรเกิน 32 นิ้ว ถ้ามากกว่านี้ต้องเร่งลดน้ำหนัก" เพราะถ้าหากท่านวัดรอบเอวแล้วได้ตัวเลขเกินกว่ามาตราฐานนี้ แสดงว่าท่านกำลังเป็นโรคอ้วน คนเป็นโรคอ้วนมีความเสี่ยงที่จะต้อง พบกับโรคร้ายต่างๆ มากมาย นับตั้งแต่ โรคหัวใจ เบาหวาน ไขมันในเลือดสูง ความดันโลหิตสูง อัมพาต และท่านอาจจะหยุดหายใจขณะหลับ จนเกิดภาวะพร่องออกซิเจน ตื่นนอนจะมีอาการมึน เป็นต้อหินง่ายเนื่องจากเลือดขาดออกซิเจน เป็นโรคข้อ เพราะแบกรับน้ำหนักมาก เป็นเกาต์ มะเร็ง นิ่วในถุงน้ำดี มีลูกยาก โรคเกี่ยวกับระบบหายใจ โรคถุงน้ำดี ท่านทราบหรือไม่ว่าคนอ้วนจะเสี่ยงต่อการเป็นเบาหวานมากกว่าคนน้ำหนักปกติถึง 30 เท่า เสี่ยงเป็นโรคหลอดเลือดหัวใจตีบกว่าคนทั่วไป 15 เท่า โรคอัมพาต 11 เท่า โรคมะเร็งลำไส้ 2 เท่า คนเป็นโรคอ้วนเป็นโรคร้ายตายง่ายอย่างนี้ถ้าไม่เรียกคนที่มีรอบเอวเกินมาตราฐานว่า รอบเอวมรณะ แล้วจะเรียกว่าอะไรล่ะครับ วิธีถอดห่วงยาง (ลดเอว) คุณหมอบอกว่า วิธีรักษาโรคอ้วนสามารถทำได้ด้วยการควบคุมแคลอรีของอาหารที่รับประทาน คือพยายามให้ลดลงวันละ 600 แคลอรี ซึ่งภายใน 7 วันท่านจะสามารถลดน้ำหนักได้0.6 กิโลกรัม เพราะไขมัน 1 กิโลกรัม เท่ากับ 7,000 แคลอรี ประการที่สำคัญ ต้องออกกำลังกายอย่างสม่ำเสมอทุกวันครับ อย่างน้อย 20 นาที ถ้าออกกำลังกายได้ 60 นาทีจะยิ่งเป็นผลดี คุณหมอบอกว่าเราควรให้สนใจใฝ่ศึกษาหาความรู้ด้านโภชนาการให้มาก ๆ คือให้ศึกษาว่าอาหารชนิดไหนให้พลังงานน้อย พลังมากแค่ไหน และ ควรสร้างความสุขที่ได้บริโภคอาหารไขมันต่ำ ๆ ในการรับประทานอาหารควรเคี้ยวให้ช้าๆ จะรู้สึกอิ่มทั้งๆ ที่บริโภคน้อย อ้อ ! budpage แนะนำว่าท่านควรซื้อสายวัดมาเก็บไว้สักเส้นนะครับ ทุก ๆ เช้าคอยวัดเอวตัวเอง และควรจดบันทึกเป็นสถิติไว้ทุกวันด้วย สนุกดีครับ อีกทั้งยังเป็นการท้าทายให้เรามีความตื่นตัวที่จะลดความอ้วนอยู่เสมออีกด้วย สุดท้ายนี้ขอให้ทุก ๆ ท่านมีรอบเอวในระดับมาตราฐานที่ปลอดภัยกันทุก ๆ ท่านนะครับ (จบบทความนี้ เวบมาสเตอร์ คงขอตัวไปซื้อสายวัดมาควบคุมน้ำหนักด้วยคนนะครับ สวัสดี ) ขอเชิญชาวพุทธมาช่วยกันระดมความคิดในหัวข้อ "วิธีออกกำลังกายให้สนุก" ลองมาดูกันว่าใครจะมีวิธีการเด็ดๆ ที่จะทำให้คนอ้วนอยากออกกำลังกายโดยไม่ฝืนใจกันบ้าง แล้วพบกันใหม่กับเอกสารสาระที่มีประโยชน์ฉบับหน้าค่ะ ***************************************************************** ถ้าท่านต้องการข้อมูลที่มีประโยชน์ในด้านโภชนาการเพื่อสุขภาพที่แข็งแรง หรือต้องการลดน้ำหนักโดยวิธีธรรมชาติ สามารถขอข้อมูลได้จาก ... http://www.geocities.com/healthclub999/easythin ***************************************************************** หากไม่ต้องการรับข้อมูลข่าวสารอีก กรุณาเข้าไปแจ้งที่ www.unsubhealthclub.web1000.com --#MYBOUNDARY#-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Wed Mar 19 7:21:35 2003 Delivered-To: freebsd-audit@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E74FF37B401; Wed, 19 Mar 2003 07:21:32 -0800 (PST) Received: from mailgw.cscoms.com (mailgw.cscoms.com [202.183.255.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 113FD43FD7; Wed, 19 Mar 2003 07:21:30 -0800 (PST) (envelope-from wowwwhealthy@thaimail.com) Received: from cscoms.com (mail.cscoms.com [202.183.255.23]) by mailgw.cscoms.com (8.12.8/8.12.3) with ESMTP id h2JFDiil015353; Wed, 19 Mar 2003 22:13:45 +0700 (ICT) Received: from ME (dial-255.ras-7.bkk.c.cscoms.com [203.170.141.193]) by cscoms.com (8.12.8/8.12.3) with SMTP id h2JF9qwo010432; Wed, 19 Mar 2003 22:09:54 +0700 (GMT) Date: Wed, 19 Mar 2003 22:09:52 +0700 (GMT) Message-Id: <200303191509.h2JF9qwo010432@cscoms.com> From: wowwwhealthy@thaimail.com Subject: ท่านทราบหรือไม่ว่าคนอ้วนจะเสี่ยงต่อการเป็นเบาหวานมากกว่าคนน้ำหนักปกติถึง 30 เท่า X-Priority: 1 (Highest) Reply-To: wowwwhealthy@thaimail.com X-Mailer: Microsoft Outlook Express 5.00.2615.200 MIME-Version: 1.0 Content-type: multipart/mixed; boundary="#MYBOUNDARY#" X-Virus-Scanned: by amavisd-milter (http://amavis.org/) To: undisclosed-recipients: ; Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --#MYBOUNDARY# Content-Type: text/plain; charset=ansi Content-Transfer-Encoding: 8bit คนไทยกำลังเป็นโรคอ้วนมากขึ้นทุกที พ.อ.หญิง รศ. พ.ญ. พรฑิตา ชัยอำนวย ผู้อำนวยการเวชศาสตร์ฟื้นฟู โรงพยาบาลพระมงกุฏเกล้า บรรยายเรื่อง "กินอย่างไรให้ห่างไกลโรคหัวใจและโรคอ้วน" ในตอนหนึ่งของการบรรยาย ผู้บรรยายกล่าวว่า "สิ่งที่พึงตระหนักคือ ผู้ชายไม่ควรให้รอบเอวเกิน 36 นิ้ว หญิงไม่ควรเกิน 32 นิ้ว ถ้ามากกว่านี้ต้องเร่งลดน้ำหนัก" เพราะถ้าหากท่านวัดรอบเอวแล้วได้ตัวเลขเกินกว่ามาตราฐานนี้ แสดงว่าท่านกำลังเป็นโรคอ้วน คนเป็นโรคอ้วนมีความเสี่ยงที่จะต้อง พบกับโรคร้ายต่างๆ มากมาย นับตั้งแต่ โรคหัวใจ เบาหวาน ไขมันในเลือดสูง ความดันโลหิตสูง อัมพาต และท่านอาจจะหยุดหายใจขณะหลับ จนเกิดภาวะพร่องออกซิเจน ตื่นนอนจะมีอาการมึน เป็นต้อหินง่ายเนื่องจากเลือดขาดออกซิเจน เป็นโรคข้อ เพราะแบกรับน้ำหนักมาก เป็นเกาต์ มะเร็ง นิ่วในถุงน้ำดี มีลูกยาก โรคเกี่ยวกับระบบหายใจ โรคถุงน้ำดี ท่านทราบหรือไม่ว่าคนอ้วนจะเสี่ยงต่อการเป็นเบาหวานมากกว่าคนน้ำหนักปกติถึง 30 เท่า เสี่ยงเป็นโรคหลอดเลือดหัวใจตีบกว่าคนทั่วไป 15 เท่า โรคอัมพาต 11 เท่า โรคมะเร็งลำไส้ 2 เท่า คนเป็นโรคอ้วนเป็นโรคร้ายตายง่ายอย่างนี้ถ้าไม่เรียกคนที่มีรอบเอวเกินมาตราฐานว่า รอบเอวมรณะ แล้วจะเรียกว่าอะไรล่ะครับ วิธีถอดห่วงยาง (ลดเอว) คุณหมอบอกว่า วิธีรักษาโรคอ้วนสามารถทำได้ด้วยการควบคุมแคลอรีของอาหารที่รับประทาน คือพยายามให้ลดลงวันละ 600 แคลอรี ซึ่งภายใน 7 วันท่านจะสามารถลดน้ำหนักได้0.6 กิโลกรัม เพราะไขมัน 1 กิโลกรัม เท่ากับ 7,000 แคลอรี ประการที่สำคัญ ต้องออกกำลังกายอย่างสม่ำเสมอทุกวันครับ อย่างน้อย 20 นาที ถ้าออกกำลังกายได้ 60 นาทีจะยิ่งเป็นผลดี คุณหมอบอกว่าเราควรให้สนใจใฝ่ศึกษาหาความรู้ด้านโภชนาการให้มาก ๆ คือให้ศึกษาว่าอาหารชนิดไหนให้พลังงานน้อย พลังมากแค่ไหน และ ควรสร้างความสุขที่ได้บริโภคอาหารไขมันต่ำ ๆ ในการรับประทานอาหารควรเคี้ยวให้ช้าๆ จะรู้สึกอิ่มทั้งๆ ที่บริโภคน้อย อ้อ ! budpage แนะนำว่าท่านควรซื้อสายวัดมาเก็บไว้สักเส้นนะครับ ทุก ๆ เช้าคอยวัดเอวตัวเอง และควรจดบันทึกเป็นสถิติไว้ทุกวันด้วย สนุกดีครับ อีกทั้งยังเป็นการท้าทายให้เรามีความตื่นตัวที่จะลดความอ้วนอยู่เสมออีกด้วย สุดท้ายนี้ขอให้ทุก ๆ ท่านมีรอบเอวในระดับมาตราฐานที่ปลอดภัยกันทุก ๆ ท่านนะครับ (จบบทความนี้ เวบมาสเตอร์ คงขอตัวไปซื้อสายวัดมาควบคุมน้ำหนักด้วยคนนะครับ สวัสดี ) ขอเชิญชาวพุทธมาช่วยกันระดมความคิดในหัวข้อ "วิธีออกกำลังกายให้สนุก" ลองมาดูกันว่าใครจะมีวิธีการเด็ดๆ ที่จะทำให้คนอ้วนอยากออกกำลังกายโดยไม่ฝืนใจกันบ้าง แล้วพบกันใหม่กับเอกสารสาระที่มีประโยชน์ฉบับหน้าค่ะ ***************************************************************** ถ้าท่านต้องการข้อมูลที่มีประโยชน์ในด้านโภชนาการเพื่อสุขภาพที่แข็งแรง หรือต้องการลดน้ำหนักโดยวิธีธรรมชาติ สามารถขอข้อมูลได้จาก ... http://www.geocities.com/healthclub999/easythin ***************************************************************** หากไม่ต้องการรับข้อมูลข่าวสารอีก กรุณาเข้าไปแจ้งที่ www.unsubhealthclub.web1000.com --#MYBOUNDARY#-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Fri Mar 21 2:55:20 2003 Delivered-To: freebsd-audit@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 857A137B405 for ; Fri, 21 Mar 2003 02:55:18 -0800 (PST) Received: from mailgw.cscoms.com (mailgw.cscoms.com [202.183.255.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30F3243F93 for ; Fri, 21 Mar 2003 02:55:17 -0800 (PST) (envelope-from Economic2003@thaimail.com) Received: from cscoms.com (mail.cscoms.com [202.183.255.23]) by mailgw.cscoms.com (8.12.8/8.12.3) with ESMTP id h2LAquER021080; Fri, 21 Mar 2003 17:52:57 +0700 (ICT) Received: from ME (dial-111.ras-7.bkk.c.cscoms.com [203.170.129.111]) by cscoms.com (8.12.8/8.12.3) with SMTP id h2LApOwo013092; Fri, 21 Mar 2003 17:51:25 +0700 (GMT) Date: Fri, 21 Mar 2003 17:51:24 +0700 (GMT) Message-Id: <200303211051.h2LApOwo013092@cscoms.com> From: Economic2003@thaimail.com Subject: สหรัฐ รบกับอิรัก เศรษฐกิจะดีขึ้นจริง ความมั่นคงในงานมีจริงหรือ? X-Priority: 1 (Highest) Reply-To: Economic2003@thaimail.com X-Mailer: Microsoft Outlook Express 5.00.2615.200 MIME-Version: 1.0 Content-type: multipart/mixed; boundary="#MYBOUNDARY#" X-Virus-Scanned: by amavisd-milter (http://amavis.org/) To: undisclosed-recipients: ; Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --#MYBOUNDARY# Content-Type: text/plain; charset=ansi Content-Transfer-Encoding: 8bit สภาพความเป็นจริงของงานประจำคือไม่มีความมั่นคง ใครกล้ายืนยัน แม้ว่า สหรัฐ รบกับอิรัก เศรษฐกิจะดีขึ้นจริง ความมั่นคงในงานมีจริงหรือ? - โดยสภาวะทั่วไปนั้น งานประจำจะถูกจำกัดด้วยขั่วโมงทำงานที่ยาว - ทั้งนี้ยังจำกัดรายได้ที่ต่ำเมื่อเทียบกับความทุ่มเทที่เราให้แก่งาน - อีกทั้งผลงานก็ถูกวินิจฉัยโดยเจ้านาย หรือเจ้าของกิจการ - ที่สำคัญก็คือ ผลงานโดนเบียดบังหรือลดความสำคัญโดยเพื่อน ร่วมงานผู้ซึ่งช่างประจบเจ้านาย อีกเจ้านายก็มักชอบเสียด้วย - ภาพความเป็นจริงดังกล่าวสร้างความเครียด และลบล้างอิสรภาพ - สภาพความมั่นคงไม่มี มีเพียงความมั่นคงของบริษัทและบางคนถูก คัดเลือกให้เป็นผู้เสียสละในชั่วโมงที่บริษัทอยู่ในฐานะย่ำแย่ - ลองเริ่มงานพิเศษเผื่อว่าสักวันจะได้หลุดพ้นสภาวะดังกล่าวคือ มีอิสรภาพทางด้านรายได้ ตลอดจนถึงอิสรภาพทางเวลา - สามารถสร้างรายได้เพิ่มอีกเดือนละ 10,000-20,000 บาทเป็น ขั้นต่ำโดยใช้เวลาสัปดาห์ละ 10-12 ชั่วโมง - สามารถแปรเป็นงานประจำไว้รองรับในกรณีฉุกเฉินได้เป็นอย่างดี - ทำงานโดยใข้ระบบ internet,fax หรือสื่ออีเล็คทรอนิคส์อื่น และสื่อชนิดอื่นๆตามความถนัดแต่ละบุคคล ที่สำคัญมากมาก คืออิสรภาพทางจิตใจ สามารถทำงานด้วยความ เบิกบาน หากคุณแน่ใจว่าคิดเช่นนั้น แม้ว่าคุณยังศึกษาอยู่ก็ตาม สามารถเริ่มเตรียมตัวหลีกสภาพดังกล่าว ผู้ที่ประสบอยู่แล้วก็ สามารถที่จะเริ่มหลีกเลี่ยง เพื่อการเก็บออม หากมีความสนใจให้ดูรายละเอียดและกรอกรายละเอียดที่ www.geocities.com/thaigetrich/easywork __________________________________________________________________ หากท่านไม่ประสงค์รับวารสารจากเราอีกต่อไป กรุณาส่ง E-Mail Addressไปที่ : easywork@maildozy.com ระบบจะทำการตรวจสอบและลบชื่อของท่านออกจากฐานข้อมูลทันที (กรุณาส่งเป็น mail address ไม่ใช่ display name) _____________________________________________________________________ You can unsubscibe by submit your E-mail address at srs_ctcv@yahoo.com. Please give specific address not your display name. --#MYBOUNDARY#-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Fri Mar 21 8:36:12 2003 Delivered-To: freebsd-audit@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2C2037B407; Fri, 21 Mar 2003 08:36:08 -0800 (PST) Received: from mailgw.cscoms.com (mailgw.cscoms.com [202.183.255.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66AE943F3F; Fri, 21 Mar 2003 08:36:07 -0800 (PST) (envelope-from FreeBooklet@thaimail.com) Received: from cscoms.com (mail.cscoms.com [202.183.255.23]) by mailgw.cscoms.com (8.12.8/8.12.3) with ESMTP id h2LGZJET032197; Fri, 21 Mar 2003 23:35:33 +0700 (ICT) Received: from ME (dial-49.ras-7.bkk.c.cscoms.com [203.170.129.49]) by cscoms.com (8.12.8/8.12.3) with SMTP id h2LGV5wo017088; Fri, 21 Mar 2003 23:31:08 +0700 (GMT) Date: Fri, 21 Mar 2003 23:31:05 +0700 (GMT) Message-Id: <200303211631.h2LGV5wo017088@cscoms.com> From: FreeBooklet@thaimail.com Subject: แจกฟรี ! หนังสือคู่มือคนเคยจน สำหรับผู้สนใจ.... X-Priority: 1 (Highest) Reply-To: FreeBooklet@thaimail.com X-Mailer: Microsoft Outlook Express 5.00.2615.200 MIME-Version: 1.0 Content-type: multipart/mixed; boundary="#MYBOUNDARY#" X-Virus-Scanned: by amavisd-milter (http://amavis.org/) To: undisclosed-recipients: ; Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --#MYBOUNDARY# Content-Type: text/plain; charset=ansi Content-Transfer-Encoding: 8bit >>>>ทำงานที่ยากที่สุดก่อน >>>> >>ผมยิ่งมีชีวิตอยู่นานเท่าไหร่ ผมยิ่งมั่นใจมากขึ้นเท่านั้น >>ว่าความแตกต่างอันยิ่งใหญ่ระหว่างมนุษย์... >>ระหว่าคนที่อ่อนแอและคนทีอำนาจ....... >>ระหว่างคนที่ยิ่งใหญ่และคนที่ไม่สำคัญ ก็คือ >>เรี่ยวแรงของ....ความตั้งใจแน่วแน่ที่ไม่อาจทำลายได้.... >>จุดประสงค์ที่เมื่อตั้งขึ้นแล้ว ถ้าไม่ตายก็ต้องชนะ >>-เซอร์โธมัส ฟาวเวล บั๊กซ์ตัน >>หนึ่งในเทคนิคที่ดีที่สุดในการเอาชนะนิสัยผัดวันประกันพรุ่ง >>และทำงานได้มากขึ้นและเร็วขึ้นก็คือลงมือทำงานที่ยากที่สุดของคุณก่อน >>นี่คือการ " กินกบของคุณ " ที่แท้จริง มันเป็นทักษะส่วนบุคคลในการบริหาร >>ที่ยากที่สุดและสำคัญที่สุดเริ่มต้นตอนเช้าด้วยงานที่ใหญ่ที่สุดและสำคัญที่สุด >>คือ สิ่งตรงข้ามกับที่คนส่วนใหญ่ทำ ระเบียบวินัยนี้จะทำให้คุณเลิกนิสัย ผัดวัน >>ประกันพรุ่งและทำให้อนาคตอยู่ในกำมือคุณ >>>>>>>>การเริ่มต้นแต่ละวันด้วยงานที่ยากที่สุดเป็นการเริ่มต้นแบบก้าวกระโดด >>ที่ดี คุณจะมีไฟมากขึ้น และจะทำงานได้ผลดีมากขึ้น >>>>>>>>ในวันที่คุณเริ่มลงมือทำงานสำคัญโดยทันทีทันควัน คุณจะรู้สึกดีกับตัว >>คุณเองและกับงานของคุณมากกว่าคนอื่นๆ คุณจะรู้สึกมีอำนาจมากขึ้น ควบคุม >>ตัวเองได้มากขึ้นและรับผิดชอบดูแลชีวิตตัวเองได้มากกว่าเวลาอื่น >>>>>>>สร้างนิสัยเริ่มทำงานที่ยากที่สุดก่อนแล้วคุณจะไม่ต้องมองย้อนกลับ >>คุณจะกลายเป็น หนึ่งในคนที่มีประสิทธิภาพมากที่สุดในคนรุ่นคุณ............... >>กินกบตัวนั้นซะ!!! จงมองตัวเองว่าเป็นงานที่กำลังคืบหน้า จงเทใจให้กับการเพาะนิสัย >>เป็นคนมีผลงานสูงด้วยการฝึกซ้ำแล้วซ้ำเล่าจนกระทั่งมันกลายเป็นเรื่องอัตโนมัติและ >>กลายเป็นเรื่องง่าย >>>>>>>>หนึ่งในวลีที่มีอนุภาพมากที่สุดซึ่งคุณสามารถเรียนรู้และนำมาใช้ได้ก็คือ >>" เพื่อวันนี้เท่านั้น! "อย่าวิตกเรื่องการเปลี่ยนแปลงชีวิตตัวเอง ถ้ามันฟังเหมือนเป็น >>ความคิดที่ดี จงทำมัน" เพื่อวันนี้เท่านั้น" >>>>>>>>บอกกับตัวเองว่า " เพื่อวันนี้เท่านั้น ฉันจะวางแผนเตรียมการ และเริ่มต้นงาน >>ที่ยากที่สุดก่อนจะทำอย่างอื่น "แล้วคุณจะต้องทึ่งกับความแตกต่างที่เกิดขึ้นในชีวิตคุณ ---------------------------------------------------------------------------------------------- คุณ พร้อมแล้วรึยัง กับรูปแบบการทำงานง่ายๆจากที่บ้าน Click Here! www.geocities.com/thaigetrich/easywork , หรือ Tel. 0-2277-7850 กด 25 ----------------------------------------------------------------------------------------------- ขออภัยหากเป็นการรบกวน และหากไม่ต้องการให้ส่งข่าวสารมายังท่านอีก กรุณาเมลล์มาที่ easywork@maildozy.com หัวข้อ unsub --#MYBOUNDARY#-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message