Re: how to build libthr except other components of 'world'

2009-11-18 Thread Ulrich Spörlein
On Mon, 16.11.2009 at 20:28:35 +0800, Jiandong Lu wrote: --- 09年11月16日,周一, Jiandong Lu lujiandong1...@yahoo.com.cn 写道: 发件人: Jiandong Lu lujiandong1...@yahoo.com.cn 主题: how to build libthr except other components of 'world' 收件人: freebsd-thre...@freebsd.org 日期: 2009年11月16日,周一,下午6:48

Re: unit testing automated password assignment

2009-11-18 Thread Lars Engels
Quoting Boris Kochergin sp...@acm.poly.edu: Aryeh Friedman wrote: I have a script that automatically creates a user and sets their password: echo $3 | sudo pw useradd $1 -m -c $2 -s tcsh -h0 and by my employer's policy I need to unit test... my question is how... the checking for user

Re: unit testing automated password assignment

2009-11-18 Thread Dag-Erling Smørgrav
Lars Engels lars.eng...@0x20.net writes: And if you want to enforce strong passwords, take a look at pam_passwdqc(8). Or don't, it's waaay out of date. I should import a newer version, just never got around to it. Patches are welcome. DES -- Dag-Erling Smørgrav - d...@des.no

Re: unit testing automated password assignment

2009-11-18 Thread Lars Engels
Quoting Dag-Erling Smørgrav d...@des.no: Lars Engels lars.eng...@0x20.net writes: And if you want to enforce strong passwords, take a look at pam_passwdqc(8). Or don't, it's waaay out of date. I should import a newer version, just never got around to it. Patches are welcome. Yes, today

Re: mprotect(2) clears the flag for whole page which causes program crash.

2009-11-18 Thread Robert Watson
On Tue, 17 Nov 2009, Sharad Chandra wrote: Is it known bug or is there any workaround? How will a userland process make sure that process will not crash as malloc(3) can allocate where ever it get the memory free to use. mprotect(2) operates on pages, so you'll want to use mmap(2) and

Re: mprotect(2) clears the flag for whole page which causes program crash.

2009-11-18 Thread Jung-uk Kim
On Wednesday 18 November 2009 01:52 pm, Robert Watson wrote: On Tue, 17 Nov 2009, Sharad Chandra wrote: Is it known bug or is there any workaround? How will a userland process make sure that process will not crash as malloc(3) can allocate where ever it get the memory free to use.

Wine on amd64 in 32 bit jail

2009-11-18 Thread xorquewasp
Hello. I've done a lot of reading on this problem and don't understand why what I have doesn't work. http://wiki.freebsd.org/Wine I have an entirely 32 bit jail, created by cross-compiling the world with TARGET=i386 and creating a jail from DESTDIR. The jail appears to be fully functional -

Re: Wine on amd64 in 32 bit jail

2009-11-18 Thread Julian Elischer
xorquew...@googlemail.com wrote: Hello. I've done a lot of reading on this problem and don't understand why what I have doesn't work. http://wiki.freebsd.org/Wine I have an entirely 32 bit jail, created by cross-compiling the world with TARGET=i386 and creating a jail from DESTDIR. The

Re: Wine on amd64 in 32 bit jail

2009-11-18 Thread xorquewasp
On 2009-11-18 23:19:14, Julian Elischer wrote: Wine is an exceptional bit of software, in many ways. One way it is exceptional is that it uses the system in a number of ways that nothing else does. For example it sets various special segment register settings and defines several different