Re: svn commit: r230201 - head/lib/libc/gen

2012-01-15 Thread David Xu
On 2012/1/16 15:39, Lawrence Stewart wrote: On 01/16/12 17:15, David Xu wrote: Author: davidxu Date: Mon Jan 16 06:15:14 2012 New Revision: 230201 URL: http://svn.freebsd.org/changeset/base/230201 Log: Insert read memory barriers. Modified: head/lib/libc/gen/sem.c head/lib/libc/gen/se

Re: svn commit: r230201 - head/lib/libc/gen

2012-01-15 Thread Lawrence Stewart
On 01/16/12 17:15, David Xu wrote: Author: davidxu Date: Mon Jan 16 06:15:14 2012 New Revision: 230201 URL: http://svn.freebsd.org/changeset/base/230201 Log: Insert read memory barriers. Modified: head/lib/libc/gen/sem.c head/lib/libc/gen/sem_new.c Could you please provide a bit more

svn commit: r230201 - head/lib/libc/gen

2012-01-15 Thread David Xu
Author: davidxu Date: Mon Jan 16 06:15:14 2012 New Revision: 230201 URL: http://svn.freebsd.org/changeset/base/230201 Log: Insert read memory barriers. Modified: head/lib/libc/gen/sem.c head/lib/libc/gen/sem_new.c Modified: head/lib/libc/gen/sem.c ==

svn commit: r230200 - head/sys/dev/tws

2012-01-15 Thread Xin LI
Author: delphij Date: Mon Jan 16 06:00:44 2012 New Revision: 230200 URL: http://svn.freebsd.org/changeset/base/230200 Log: Match surrounding style. Noticed by: avg Modified: head/sys/dev/tws/tws.c Modified: head/sys/dev/tws/tws.c ===

svn commit: r230199 - head/sys/mips/include

2012-01-15 Thread David Schultz
Author: das Date: Mon Jan 16 05:23:27 2012 New Revision: 230199 URL: http://svn.freebsd.org/changeset/base/230199 Log: Remove a confused comment and fix some minor bugs. Modified: head/sys/mips/include/float.h Modified: head/sys/mips/include/float.h ==

svn commit: r230198 - head/sys/arm/include

2012-01-15 Thread David Schultz
Author: das Date: Mon Jan 16 05:23:13 2012 New Revision: 230198 URL: http://svn.freebsd.org/changeset/base/230198 Log: Fix the definition of FLT_EVAL_METHOD and some minor bugs. Modified: head/sys/arm/include/float.h Modified: head/sys/arm/include/float.h

svn commit: r230195 - in head/sys: conf mips/atheros

2012-01-15 Thread Adrian Chadd
Author: adrian Date: Mon Jan 16 05:07:32 2012 New Revision: 230195 URL: http://svn.freebsd.org/changeset/base/230195 Log: Stop overloading opt_global.h. Modified: head/sys/conf/options head/sys/mips/atheros/ar71xx_machdep.c head/sys/mips/atheros/ar71xx_pci.c Modified: head/sys/conf/optio

svn commit: r230194 - head/sys/kern

2012-01-15 Thread David Xu
Author: davidxu Date: Mon Jan 16 04:39:10 2012 New Revision: 230194 URL: http://svn.freebsd.org/changeset/base/230194 Log: Eliminate branch and insert an explicit reader memory barrier to ensure that waiter bit is set before reading semaphore count. Modified: head/sys/kern/kern_umtx.c Modi

Re: svn commit: r230192 - in head/lib/msun: . arm src

2012-01-15 Thread David Schultz
On Mon, Jan 16, 2012, David Schultz wrote: > Author: das > Date: Mon Jan 16 04:09:17 2012 > New Revision: 230192 > URL: http://svn.freebsd.org/changeset/base/230192 > > Log: > Add an implementation of fenv.h intended for platforms that lack an FPU and > use softfloat. > > Thanks to Ian Le

Re: svn commit: r230191 - in head: lib/libc/arm/gen sys/arm/include

2012-01-15 Thread David Schultz
On Mon, Jan 16, 2012, David Schultz wrote: > Author: das > Date: Mon Jan 16 04:08:29 2012 > New Revision: 230191 > URL: http://svn.freebsd.org/changeset/base/230191 > > Log: > Implement FLT_ROUNDS for arm. Some (all?) arm FPUs lack support for > dynamic rounding modes, but FPUless chips that

svn commit: r230193 - head/lib/libc/sparc64/fpu

2012-01-15 Thread David Schultz
Author: das Date: Mon Jan 16 04:09:45 2012 New Revision: 230193 URL: http://svn.freebsd.org/changeset/base/230193 Log: Computations on NaNs are supposed to return one of the input NaNs unchanged. Fix a few places in the sparc64 floating-point emulator where this wasn't being handled properly

svn commit: r230192 - in head/lib/msun: . arm src

2012-01-15 Thread David Schultz
Author: das Date: Mon Jan 16 04:09:17 2012 New Revision: 230192 URL: http://svn.freebsd.org/changeset/base/230192 Log: Add an implementation of fenv.h intended for platforms that lack an FPU and use softfloat. Thanks to Ian Lepore for testing and debugging this patch. The fenv regressi

svn commit: r230191 - in head: lib/libc/arm/gen sys/arm/include

2012-01-15 Thread David Schultz
Author: das Date: Mon Jan 16 04:08:29 2012 New Revision: 230191 URL: http://svn.freebsd.org/changeset/base/230191 Log: Implement FLT_ROUNDS for arm. Some (all?) arm FPUs lack support for dynamic rounding modes, but FPUless chips that use softfloat can support it because everything is emula

svn commit: r230190 - head/lib/libc/softfloat

2012-01-15 Thread David Schultz
Author: das Date: Mon Jan 16 04:06:56 2012 New Revision: 230190 URL: http://svn.freebsd.org/changeset/base/230190 Log: Remove functions from softfloat's Symbol.map that don't need to be exported. Also use the proper number of underscores for internal names. (Changing the names should be fin

svn commit: r230189 - in head/lib/libc: arm/softfloat mips/softfloat softfloat softfloat/bits32 softfloat/bits64

2012-01-15 Thread David Schultz
Author: das Date: Mon Jan 16 04:05:53 2012 New Revision: 230189 URL: http://svn.freebsd.org/changeset/base/230189 Log: Convert softfloat to use the standard exception flag and rounding macros in fenv.h instead of the non-standard and incomplete ones in ieeefp.h. Thanks to Ian Lepore for t

svn commit: r230188 - head/lib/libc/arm

2012-01-15 Thread David Schultz
Author: das Date: Mon Jan 16 04:04:35 2012 New Revision: 230188 URL: http://svn.freebsd.org/changeset/base/230188 Log: Correct some bugs that resulted from arm/_fpmath.h being blindly copied from the x86 version, which has a completely different long double format. Submitted by: Maks Ve

svn commit: r230185 - head/sys/i386/conf

2012-01-15 Thread Colin Percival
Author: cperciva Date: Mon Jan 16 02:42:41 2012 New Revision: 230185 URL: http://svn.freebsd.org/changeset/base/230185 Log: s/amd64/i386/ in comment. Modified: head/sys/i386/conf/XENHVM Modified: head/sys/i386/conf/XENHVM ==

svn commit: r230184 - head/sys/i386/conf

2012-01-15 Thread Colin Percival
Author: cperciva Date: Mon Jan 16 02:42:16 2012 New Revision: 230184 URL: http://svn.freebsd.org/changeset/base/230184 Log: Copy XENHVM config file from amd64, now that i386+XENHVM works. Added: - copied unchanged from r230183, head/sys/amd64/conf/XENHVM Directory Properties: head/sys/i3

svn commit: r230183 - head/sys/dev/xen/xenpci

2012-01-15 Thread Colin Percival
Author: cperciva Date: Mon Jan 16 02:38:45 2012 New Revision: 230183 URL: http://svn.freebsd.org/changeset/base/230183 Log: Make XENHVM work on i386. The __ffs() function counts bits starting from zero, unlike ffs(3), which starts counting from 1. Modified: head/sys/dev/xen/xenpci/evtchn.c

svn commit: r230181 - head/sys/dev/sound/pci/hda

2012-01-15 Thread Alexander Motin
Author: mav Date: Mon Jan 16 00:26:52 2012 New Revision: 230181 URL: http://svn.freebsd.org/changeset/base/230181 Log: Add check to avoid assertion panic on duplicate stop. Reported by: Yuri Pankov MFC after:2 months Modified: head/sys/dev/sound/pci/hda/hdaa.c Modified: head/sys

svn commit: r230180 - head/sys/fs/tmpfs

2012-01-15 Thread Alan Cox
Author: alc Date: Mon Jan 16 00:26:49 2012 New Revision: 230180 URL: http://svn.freebsd.org/changeset/base/230180 Log: When tmpfs_write() resets an extended file to its original size after an error, we want tmpfs_reg_resize() to ignore I/O errors and unconditionally update the file's size.

Re: svn commit: r230125 - head/sys/kern

2012-01-15 Thread Colin Percival
On 01/15/12 15:28, John Baldwin wrote: > On 1/15/12 2:09 AM, Eitan Adler wrote: >> Log: >>- Fix undefined behavior when device_get_name is null >>- Make error message more informative > > The in-kernel printf(9) always prints "(null)" for %s when the pointer is > NULL, > so that wasn't un

Re: svn commit: r230125 - head/sys/kern

2012-01-15 Thread John Baldwin
On 1/15/12 2:09 AM, Eitan Adler wrote: Author: eadler (ports committer) Date: Sun Jan 15 07:09:18 2012 New Revision: 230125 URL: http://svn.freebsd.org/changeset/base/230125 Log: - Fix undefined behavior when device_get_name is null - Make error message more informative The in-kernel pri

Re: svn commit: r230149 - head/sys/conf

2012-01-15 Thread Bruce Evans
On Sun, 15 Jan 2012, Adrian Chadd wrote: Log: Add the new option introduced in the previous commit. Modified: head/sys/conf/options Modified: head/sys/conf/options == --- head/sys/conf/options Sun Jan 15 19:29:

svn commit: r230179 - in head/sys/dev/usb: . serial

2012-01-15 Thread Tim Kientzle
Author: kientzle Date: Sun Jan 15 23:00:33 2012 New Revision: 230179 URL: http://svn.freebsd.org/changeset/base/230179 Log: BeagleBone uses an FTDI chip with an altered Product ID. Modified: head/sys/dev/usb/serial/uftdi.c head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/serial/uftdi.

svn commit: r230161 - in head: bin/sh tools/regression/bin/sh/builtins

2012-01-15 Thread Jilles Tjoelker
Author: jilles Date: Sun Jan 15 21:39:38 2012 New Revision: 230161 URL: http://svn.freebsd.org/changeset/base/230161 Log: sh: Fix some bugs with exit status from case containing ;&. Also, rework evalcase() to not evaluate any tree. Instead, return the NCLISTFALLTHRU node and handle it in

svn commit: r230157 - head/sys/cam/scsi

2012-01-15 Thread Andriy Gapon
Author: avg Date: Sun Jan 15 20:43:39 2012 New Revision: 230157 URL: http://svn.freebsd.org/changeset/base/230157 Log: dadump: don't leak the periph lock on i/o error Reported by: az MFC after:1 week Modified: head/sys/cam/scsi/scsi_da.c Modified: head/sys/cam/scsi/scsi_da.c

svn commit: r230156 - head/include

2012-01-15 Thread Andriy Gapon
Author: avg Date: Sun Jan 15 20:37:39 2012 New Revision: 230156 URL: http://svn.freebsd.org/changeset/base/230156 Log: xlocale.h: consistently use __va_list Plain 'va_list' in this header seems to cause troubles with non-base GCC which creates and uses "tortured" versions of some sysem he

svn commit: r230155 - head/lib/libc/sys

2012-01-15 Thread Eitan Adler
Author: eadler (ports committer) Date: Sun Jan 15 20:14:52 2012 New Revision: 230155 URL: http://svn.freebsd.org/changeset/base/230155 Log: Make man page wording more clear: PR: docs/164078 Submitted by: Taras Approved by: bcr MFC after:3 days Modified: head/lib/lib

svn commit: r230154 - in head: bin/sh tools/regression/bin/sh/builtins

2012-01-15 Thread Jilles Tjoelker
Author: jilles Date: Sun Jan 15 20:04:05 2012 New Revision: 230154 URL: http://svn.freebsd.org/changeset/base/230154 Log: sh: Fix two bugs with case and exit status: * If no pattern is matched, POSIX says the exit status shall be 0 (even if there are command substitutions). * If a pat

svn commit: r230153 - in head/sys: modules/wlan net80211

2012-01-15 Thread Adrian Chadd
Author: adrian Date: Sun Jan 15 19:45:23 2012 New Revision: 230153 URL: http://svn.freebsd.org/changeset/base/230153 Log: Fix the situation where net80211 is built with IEEE80211_SUPPORT_TDMA but a module is used. Although the module _builds_, it fails to load because of a missing symbol

svn commit: r230152 - head/sys/mips/conf

2012-01-15 Thread Adrian Chadd
Author: adrian Date: Sun Jan 15 19:43:56 2012 New Revision: 230152 URL: http://svn.freebsd.org/changeset/base/230152 Log: Build some more things (random, bridge/gif/gre, gpio, USB) as modules as well so some embedded platform builds can use these instead of a fully monolithic kernel. Modifi

svn commit: r230151 - in head/sys/modules/ar71xx: . ar71xx_ehci ar71xx_ohci

2012-01-15 Thread Adrian Chadd
Author: adrian Date: Sun Jan 15 19:42:55 2012 New Revision: 230151 URL: http://svn.freebsd.org/changeset/base/230151 Log: Begin breaking out the AR71xx specific functional drivers into modules. The USB code as it stands includes the bus glue along _with_ the controller code. So the ohci/e

svn commit: r230150 - in head/sys/modules/gpio: . gpiobus gpioiic gpioled

2012-01-15 Thread Adrian Chadd
Author: adrian Date: Sun Jan 15 19:40:59 2012 New Revision: 230150 URL: http://svn.freebsd.org/changeset/base/230150 Log: Allow building the GPIO bus and associated bits as modules. This is primarily done to save a few bytes here and there on embedded systems with limited flash space for

svn commit: r230149 - head/sys/conf

2012-01-15 Thread Adrian Chadd
Author: adrian Date: Sun Jan 15 19:30:32 2012 New Revision: 230149 URL: http://svn.freebsd.org/changeset/base/230149 Log: Add the new option introduced in the previous commit. Modified: head/sys/conf/options Modified: head/sys/conf/options

svn commit: r230148 - head/sys/mips/atheros

2012-01-15 Thread Adrian Chadd
Author: adrian Date: Sun Jan 15 19:29:33 2012 New Revision: 230148 URL: http://svn.freebsd.org/changeset/base/230148 Log: Some of the atheros based embedded devices use one or more PCI NICs on-board, glued to the AR71xx CPU. These may forgo separate WMAC EEPROMs (which store configuration a

svn commit: r230147 - in head/sys/dev/ath/ath_hal: . ar9001 ar9002

2012-01-15 Thread Adrian Chadd
Author: adrian Date: Sun Jan 15 19:22:34 2012 New Revision: 230147 URL: http://svn.freebsd.org/changeset/base/230147 Log: Break out the "memory" EEPROM data read method from being AR9130 specific to being more generic. Other embedded SoCs also throw the configuration/PCI register info i

Re: svn commit: r230130 - in head: share/man/man4 sys/conf sys/dev/sound/pci/hda sys/modules/sound/driver/hda

2012-01-15 Thread Alexander Motin
On 15.01.2012 20:54, Niclas Zeising wrote: On 2012-01-15 14:21, Alexander Motin wrote: Author: mav Date: Sun Jan 15 13:21:36 2012 New Revision: 230130 URL: http://svn.freebsd.org/changeset/base/230130 Log: Major snd_hda driver rewrite: - Huge old hdac driver was split into three independ

Re: svn commit: r230130 - in head: share/man/man4 sys/conf sys/dev/sound/pci/hda sys/modules/sound/driver/hda

2012-01-15 Thread Niclas Zeising
On 2012-01-15 14:21, Alexander Motin wrote: > Author: mav > Date: Sun Jan 15 13:21:36 2012 > New Revision: 230130 > URL: http://svn.freebsd.org/changeset/base/230130 > > Log: > Major snd_hda driver rewrite: >- Huge old hdac driver was split into three independent pieces: HDA > controller d

svn commit: r230146 - head/lib/libkvm

2012-01-15 Thread Mikolaj Golub
Author: trociny Date: Sun Jan 15 18:51:07 2012 New Revision: 230146 URL: http://svn.freebsd.org/changeset/base/230146 Log: In kvm_argv(), the case when the supplied buffer was too short to hold the requested value was handled incorrectly, and the function retuned NULL instead of the truncate

svn commit: r230145 - in head/sys: compat/linprocfs fs/procfs kern sys

2012-01-15 Thread Mikolaj Golub
Author: trociny Date: Sun Jan 15 18:47:24 2012 New Revision: 230145 URL: http://svn.freebsd.org/changeset/base/230145 Log: Abrogate nchr argument in proc_getargv() and proc_getenvv(): we always want to read strings completely to know the actual size. As a side effect it fixes the issue wi

svn commit: r230144 - head/sys/powerpc/ps3

2012-01-15 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jan 15 18:26:43 2012 New Revision: 230144 URL: http://svn.freebsd.org/changeset/base/230144 Log: Pick a constant high IRQ value for the PS3 IPI, which lets PS3 devices be usefully loaded and unloaded as modules. Submitted by: geoffrey dot levand at mail dot ru

svn commit: r230143 - head/sys/kern

2012-01-15 Thread Martin Matuska
Author: mm Date: Sun Jan 15 18:08:15 2012 New Revision: 230143 URL: http://svn.freebsd.org/changeset/base/230143 Log: Fix missing in r230129: kern_jail.c: initialize fullpath_disabled to zero vfs_cache.c: add missing dot in comment Reported by: kib MFC after:1 month Modified:

svn commit: r230141 - head/usr.bin/grep

2012-01-15 Thread Eitan Adler
Author: eadler (ports committer) Date: Sun Jan 15 17:01:28 2012 New Revision: 230141 URL: http://svn.freebsd.org/changeset/base/230141 Log: Remove duplicate line from usage PR: bin/164139 Submitted by: Yuri Pankov Approved by: nwhitehorn MFC after:3 days Modified: h

svn commit: r230140 - head/sys/boot/powerpc/ps3

2012-01-15 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jan 15 16:58:44 2012 New Revision: 230140 URL: http://svn.freebsd.org/changeset/base/230140 Log: Fix some unreliability problems related to MSR bits inherited from kboot by setting an absolute MSR when during on the MMU. This prevents delay(), in particular, from

svn commit: r230139 - head/sys/powerpc/ps3

2012-01-15 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jan 15 16:57:18 2012 New Revision: 230139 URL: http://svn.freebsd.org/changeset/base/230139 Log: Now that we can tolerate LPAR context switches on the PS3 hypervisor, going to hypervisor-idle on both threads will not hang the kernel. Modified: head/sys/powerpc/p

svn commit: r230138 - head/sys/netinet6

2012-01-15 Thread Michael Tuexen
Author: tuexen Date: Sun Jan 15 14:03:05 2012 New Revision: 230138 URL: http://svn.freebsd.org/changeset/base/230138 Log: Small cleanup, no functional change. Modified: head/sys/netinet6/sctp6_var.h Modified: head/sys/netinet6/sctp6_var.h =

svn commit: r230137 - head/sys/dev/sound/pci

2012-01-15 Thread Joel Dahl
Author: joel (doc committer) Date: Sun Jan 15 13:36:47 2012 New Revision: 230137 URL: http://svn.freebsd.org/changeset/base/230137 Log: Fix a few comment typos. Modified: head/sys/dev/sound/pci/emu10kx.c Modified: head/sys/dev/sound/pci/emu10kx.c =

svn commit: r230136 - head/sys/netinet

2012-01-15 Thread Michael Tuexen
Author: tuexen Date: Sun Jan 15 13:35:55 2012 New Revision: 230136 URL: http://svn.freebsd.org/changeset/base/230136 Log: Two cleanups. No functional change. Modified: head/sys/netinet/sctp_output.c head/sys/netinet/sctputil.c Modified: head/sys/netinet/sctp_output.c ==

svn commit: r230135 - in head/sys: contrib/dev/npe contrib/dev/nve/amd64 contrib/dev/nve/i386 dev/vxge/include ofed/drivers/infiniband/core

2012-01-15 Thread Ulrich Spoerlein
Author: uqs Date: Sun Jan 15 13:23:54 2012 New Revision: 230135 URL: http://svn.freebsd.org/changeset/base/230135 Log: Remove spurious 8bit chars, turning files into plain ASCII. Modified: head/sys/contrib/dev/npe/LICENSE head/sys/contrib/dev/nve/amd64/nvenetlib.README head/sys/contrib/de

svn commit: r230134 - in head/sys/dev: fb ieee488 nxge/include

2012-01-15 Thread Ulrich Spoerlein
Author: uqs Date: Sun Jan 15 13:23:43 2012 New Revision: 230134 URL: http://svn.freebsd.org/changeset/base/230134 Log: Convert files to UTF-8 Modified: head/sys/dev/fb/boot_font.c head/sys/dev/ieee488/ibfoo.c head/sys/dev/ieee488/pcii.c head/sys/dev/ieee488/upd7210.c head/sys/dev/ieee

svn commit: r230133 - in head/sys: arm/at91 arm/sa11x0 dev/bxe dev/hpt27xx dev/hptmv dev/nxge/include dev/nxge/xgehal dev/sound/pci

2012-01-15 Thread Ulrich Spoerlein
Author: uqs Date: Sun Jan 15 13:23:33 2012 New Revision: 230133 URL: http://svn.freebsd.org/changeset/base/230133 Log: Remove spurious 8bit chars, turning files into plain ASCII. Modified: head/sys/arm/at91/at91_st.c head/sys/arm/sa11x0/sa11x0_ost.c head/sys/dev/bxe/bxe_hsi.h head/sys/d

svn commit: r230131 - head/games/morse

2012-01-15 Thread Ulrich Spoerlein
Author: uqs Date: Sun Jan 15 13:23:01 2012 New Revision: 230131 URL: http://svn.freebsd.org/changeset/base/230131 Log: Reencode morse.c to UTF-8. This does not make it Unicode aware. No changes in resulting object file. Moved user-visible symbols into comment table, so you can see all cha

svn commit: r230130 - in head: share/man/man4 sys/conf sys/dev/sound/pci/hda sys/modules/sound/driver/hda

2012-01-15 Thread Alexander Motin
Author: mav Date: Sun Jan 15 13:21:36 2012 New Revision: 230130 URL: http://svn.freebsd.org/changeset/base/230130 Log: Major snd_hda driver rewrite: - Huge old hdac driver was split into three independent pieces: HDA controller driver (hdac), HDA CODEC driver (hdacc) and HDA sudio function

Re: svn commit: r230118 - head/bin/sh

2012-01-15 Thread Jilles Tjoelker
On Sun, Jan 15, 2012 at 12:58:02AM -0500, Eitan Adler wrote: > On Sat, Jan 14, 2012 at 5:46 PM, Jilles Tjoelker wrote: > > Author: jilles > > Date: Sat Jan 14 22:46:18 2012 > > New Revision: 230118 > > URL: http://svn.freebsd.org/changeset/base/230118 > > > > Log: > >  sh: Change input buffer size

Re: svn commit: r229667 - head/usr.sbin/daemon

2012-01-15 Thread Andrey Zonov
On 06.01.2012 2:48, Guy Helmer wrote: Author: ghelmer Date: Thu Jan 5 22:48:36 2012 New Revision: 229667 URL: http://svn.freebsd.org/changeset/base/229667 Log: Allow daemon(8) to run pidfile_open() before relenquishing privileges so pid files can be written in /var/run when started as roo

svn commit: r230129 - in head/sys: kern sys

2012-01-15 Thread Martin Matuska
Author: mm Date: Sun Jan 15 12:08:20 2012 New Revision: 230129 URL: http://svn.freebsd.org/changeset/base/230129 Log: Introduce vn_path_to_global_path() This function updates path string to vnode's full global path and checks the size of the new path string against the pathlen argument.

Re: svn commit: r228843 - head/contrib/telnet/libtelnet head/crypto/heimdal/appl/telnet/libtelnet head/include head/lib/libc/gen head/lib/libc/iconv head/lib/libc/include head/lib/libc/net head/libexe

2012-01-15 Thread Andrey Chernov
On Sun, Jan 15, 2012 at 02:44:35AM -0800, Xin LI wrote: > Why you need anything if the program needs to run something inside the > chroot, which means one already have set up a full chroot environment? 1) ftpds usually not allows to run any program by default. Max default set usualy is: ls, tar,

Re: svn commit: r228843 - head/contrib/telnet/libtelnet head/crypto/heimdal/appl/telnet/libtelnet head/include head/lib/libc/gen head/lib/libc/iconv head/lib/libc/include head/lib/libc/net head/libexe

2012-01-15 Thread Xin LI
On Sat, Jan 14, 2012 at 6:15 PM, Andrey Chernov wrote: > On Sat, Dec 24, 2011 at 02:26:20AM -0800, Xin LI wrote: >> chroot(2) can create legitimate and secure environment where dlopen(2) >> is safe and necessary. > > It seems it is internal contradiction in your argumentation: > 1) You state that

svn commit: r230128 - head/release

2012-01-15 Thread Gleb Smirnoff
Author: glebius Date: Sun Jan 15 09:27:00 2012 New Revision: 230128 URL: http://svn.freebsd.org/changeset/base/230128 Log: Use getopts instead of getopt(1). Suggested by: jilles Modified: head/release/generate-release.sh Modified: head/release/generate-release.sh ===

svn commit: r230127 - in head: . release

2012-01-15 Thread Gleb Smirnoff
Author: glebius Date: Sun Jan 15 08:36:25 2012 New Revision: 230127 URL: http://svn.freebsd.org/changeset/base/230127 Log: Restore functionality to pack several kernels into release. All kernels specified by KERNCONF are built and packed into release. The first one is packed into kernel.txz,