Re: new ncurses lib changed tgetstr() API

1999-09-01 Thread Andrey A. Chernov
) It is definitely bug on ncurses side and must be fixed *there* and not in userland code. (Peter please back out corresponding tset fix too) Many programs use area parameter. API change not allowed here. -- Andrey A. Chernov http://nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC+ D A a++ C G+ QH

i386/isa/pnp.h is absent!

1999-09-03 Thread Andrey A. Chernov
Many drivers tries to include #include i386/isa/pnp.h which is absent now, please fix ASAP, kernel build fails on "make depend" -- Andrey A. Chernov http://nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC+ D A a++ C G+ QH+(++) 666+++ Y To Unsubscribe: send mail to [EMAIL

something wrong with new CVS on freefall

1999-09-11 Thread Andrey A. Chernov
I can't commit ee.c because CVS says ee.c - Does not contain a line with the keyword "$FreeBSD:". but the file ee.c _have_ "$FreeBSD: keyword, check by yourself. Please fix. -- Andrey A. Chernov http://nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC+ D A a++ C G+ QH+(++) 666+++ Y

Repository copy request

1999-09-21 Thread Andrey A. Chernov
Anybody who control CVS tree please copy /usr/src/contrib/groff/troff/hyphen.us-ru to /usr/src/contrib/groff/tmac/locale/hyphen.us-ru and /usr/src/usr.sbin/lpr/filters.ru/koi2alt.c to /usr/src/usr.sbin/lpr/filters.ru/koi2alt/koi2alt.c Thanx in advance. -- Andrey A. Chernov http://nagual.pp.ru

netstat can't be compiled due to netgraph

1999-11-01 Thread Andrey A. Chernov
/usr/src/usr.bin/netstat/netgraph.c:51: netgraph.h: No such file or directory Please fix this thing. -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC+ D A a++ C G+ QH+(++) 666+++ Y To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-cu

mount_nwfs can't be compiled due to netncp

1999-11-01 Thread Andrey A. Chernov
/usr/src/sbin/mount_nwfs/mount_nwfs.c:50: netncp/ncp_lib.h: No such file or directory /usr/src/sbin/mount_nwfs/mount_nwfs.c:51: netncp/ncp_rcfile.h: No such file or directory Please fix. -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC+ D A a++ C G+ QH+(++) 666+++ Y

Re: netstat can't be compiled due to netgraph

1999-11-01 Thread Andrey A. Chernov
On Tue, Nov 02, 1999 at 10:28:16AM +0300, Andrey A. Chernov wrote: /usr/src/usr.bin/netstat/netgraph.c:51: netgraph.h: No such file or directory Please fix this thing. Sorry false alarm, libnetgraph must be installed first -- Andrey A. Chernov http://nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N

Re: mount_nwfs can't be compiled due to netncp

1999-11-01 Thread Andrey A. Chernov
On Tue, Nov 02, 1999 at 10:34:52AM +0300, Andrey A. Chernov wrote: /usr/src/sbin/mount_nwfs/mount_nwfs.c:50: netncp/ncp_lib.h: No such file or directory /usr/src/sbin/mount_nwfs/mount_nwfs.c:51: netncp/ncp_rcfile.h: No such file or directory Please fix. Sorry false alarm, libncp must

-current panic on AHA

1999-11-03 Thread Andrey A. Chernov
. -- Andrey A. Chernov http://nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC+ D A a++ C G+ QH+(++) 666+++ Y To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Root mount failed:22 ???

1999-01-17 Thread Andrey A. Chernov
/kernel: Mounting root from ufs:da0s4a -- Andrey A. Chernov http://nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC+ D A a++ C G+ QH+(++) 666+++ Y To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: -current panic on AHA

1999-01-17 Thread Andrey A. Chernov
On Sat, Nov 06, 1999 at 10:31:12AM -0700, Warner Losh wrote: In message [EMAIL PROTECTED] "Andrey A. Chernov" writes: : Very fresh -current always paniced after detecting SCSI devices on : aha0: AHA-1542CF FW Rev. B.0 (ID=45) SCSI Host Adapter, SCSI ID 7, 16 CCBs : page fault:

Re: Root mount failed:22 ???

1999-01-17 Thread Andrey A. Chernov
? No. The diagnostic is relatively harmless, but it suggests that /etc/fstab is wrong. Here is fstab line, please point what is wrong? /dev/da0s4a / ufs rw,userquota 1 1 -- Andrey A. Chernov http://nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC+ D A a++ C G+ QH+(++) 666+++ Y

Mount before SCSI comes up ? (was Re: Root mount failed:22 ???)

1999-01-17 Thread Andrey A. Chernov
81HA Fixed Direct Access SCSI-2 device da1: 3.300MB/s transfers da1: 1051MB (2154176 512 byte sectors: 64H 32S/T 1051C) -- Andrey A. Chernov http://nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC+ D A a++ C G+ QH+(++) 666+++ Y To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe fr

ps ax: kernel command line caching bug with -?

1999-01-17 Thread Andrey A. Chernov
With recent -current I got _su (tcsh) \___ in "ps ax" instead of -su (tcsh) as before. From su.c: /* csh strips the first character... */ *np = asthem ? "-su" : iscsh == YES ? "_su" : "su"; It seems that it NOT strip the first chara

Re: ps ax: kernel command line caching bug with -?

1999-11-20 Thread Andrey A. Chernov
So the question is: should csh/tcsh use setproctitle() or should su be fixed to not use "_"? On Sat, Nov 20, 1999 at 03:18:27AM +0300, Andrey A. Chernov wrote: With recent -current I got _su (tcsh) \___ in "ps ax" instead of -su (tcsh) as before. From su

Re: Root mount failed:22 ???

1999-11-21 Thread Andrey A. Chernov
in many cases to come that will be fatal for the boot process. I just rebuild/reinstall -current /kernel and /sys/boot and update bootblocks via disklabel, as result diagnostic in question gone, but I _not_ see vfs.root.mountfrom variable in my sysctl -a output. -- Andrey A. Chernov http

Re: ps on 4.0-current

1999-11-23 Thread Andrey A. Chernov
like access to this info becomes too restrictive. Something bad in the kernel, not in kvm library. -- Andrey A. Chernov http://nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC+ D A a++ C G+ QH+(++) 666+++ Y To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" i

Re: semi-HEADS-UP (dumpon now wants raw disk device)

1999-11-30 Thread Andrey A. Chernov
dumpdev="/dev/rwd0s1b" I see no needs of this change. I have -current dumpon/savecore work with old entrly like /dev/wd0... savecore understand both character and old block devices now. -- Andrey A. Chernov http://nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC+ D A a++ C G+ QH+(++) 666++

Re: semi-HEADS-UP (dumpon now wants raw disk device)

1999-11-30 Thread Andrey A. Chernov
fix dumpon to accept both device types (to work with older kernels too) The bug is that you not rebuild your /dev -- Andrey A. Chernov http://nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC+ D A a++ C G+ QH+(++) 666+++ Y To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe fr

Re: block devices dumpon.

1999-11-30 Thread Andrey A. Chernov
old block devices. But in case you MAKEDEV slices, it will work. -- Andrey A. Chernov http://nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC+ D A a++ C G+ QH+(++) 666+++ Y To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

GEOM gets whole disk geometry for slice (instead of slice geometry)

2002-10-26 Thread Andrey A. Chernov
.0 - 778*) -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message

Re: GEOM gets whole disk geometry for slice (instead of slice geometry)

2002-11-02 Thread Andrey A. Chernov
On Sun, Oct 27, 2002 at 03:37:47 +0300, Andrey A. Chernov wrote: I have disk shared between FreeBSD and M$ Win, two slices, and got incorrect disklabel with GEOM kernel. Namely cylinders and sectors/unit fields are from _whole_ disk, not from just requested slice. Just found more

sshd: double Last login: bugfix spammed again

2002-11-06 Thread Andrey A. Chernov
Old bugfix for double Last login: was spammed in 3rd time, causing following printout: zzz@xxx's password: Last login: Wed Nov 6 17:12:40 from Last login: Wed Nov 6 17:10:08 2002 from Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 ... -- Andrey A. Chernov http

Re: sshd: double Last login: bugfix spammed again

2002-11-12 Thread Andrey A. Chernov
On Tue, Nov 12, 2002 at 12:37:13 +0100, Dag-Erling Smorgrav wrote: Andrey A. Chernov [EMAIL PROTECTED] writes: Old bugfix for double Last login: was spammed in 3rd time, causing following printout: I can't reproduce this here. Look at session.c, one Last login comes from

Re: sshd: double Last login: bugfix spammed again

2002-11-12 Thread Andrey A. Chernov
\n, time_string, -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message

Re: sshd: double Last login: bugfix spammed again

2002-11-12 Thread Andrey A. Chernov
On Tue, Nov 12, 2002 at 14:47:51 +0100, Dag-Erling Smorgrav wrote: Andrey A. Chernov [EMAIL PROTECTED] writes: BTW, double-testes options.print_lastlog looks suspiciuos. For what print_pam_messages() used here? It is unclear to me. I think the idea is that we should define NO_SSH_LASTLOG

Re: sshd: double Last login: bugfix spammed again

2002-11-12 Thread Andrey A. Chernov
. There was USE_LASTLOG on the way, which is currently on and checked before DISABLE_LASTLOG, so DISABLE_LASTLOG does nothing. See loginrec.c -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message

Re: sshd: double Last login: bugfix spammed again

2002-11-12 Thread Andrey A. Chernov
On Tue, Nov 12, 2002 at 15:28:41 +0100, Dag-Erling Smorgrav wrote: Andrey A. Chernov [EMAIL PROTECTED] writes: There was USE_LASTLOG on the way, which is currently on and checked before DISABLE_LASTLOG, so DISABLE_LASTLOG does nothing. See loginrec.c No, USE_LASTLOG is not defined

Re: awk(1) is locale unaware (was: Re: buildworld breakage during make depend at usr.bin/kdump)

2002-11-19 Thread Andrey A. Chernov
On Tue, Nov 19, 2002 at 14:52:02 +0200, Ruslan Ermilov wrote: It seems that this patch has never been committed. This is a critical bug that should be fixed before 5.0-RELEASE is out. I agree. There is no locale yet and I never see that patch. -- Andrey A. Chernov http://ache.pp.ru

Re: awk(1) is locale unaware (was: Re: buildworld breakage during make depend at usr.bin/kdump)

2002-11-19 Thread Andrey A. Chernov
On Wed, Nov 20, 2002 at 14:27:53 +1100, Tim Robbins wrote: On Wed, Nov 20, 2002 at 04:38:38AM +0300, Andrey A. Chernov wrote: On Tue, Nov 19, 2002 at 14:52:02 +0200, Ruslan Ermilov wrote: It seems that this patch has never been committed. This is a critical bug that should be fixed

Re: awk(1) is locale unaware (was: Re: buildworld breakage during make depend at usr.bin/kdump)

2002-12-03 Thread Andrey A. Chernov
, commit. -- Andrey A. Chernov http://ache.pp.ru/ msg48017/pgp0.pgp Description: PGP signature

New AWK bug with collating

2002-12-13 Thread Andrey A. Chernov
= (uschar)a - (uschar)b; + r = (int)((uschar)a) - (int)((uschar)b); return r; } -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message

Re: New AWK bug with collating

2002-12-13 Thread Andrey A. Chernov
on compiler, i.e. does it implements value preseving or unsigned preserving for 'char' type conversions. Or ANSI C vs. common C mode. Better be safe for both. Read 6.10.1.1 section here: http://wwwrsphysse.anu.edu.au/doc/DUhelp/AQTLTBTE/DOCU_067.HTM -- Andrey A. Chernov http://ache.pp.ru

Re: New AWK bug with collating

2002-12-13 Thread Andrey A. Chernov
operation with it. -- Andrey A. Chernov http://ache.pp.ru/ msg48647/pgp0.pgp Description: PGP signature

GEOM prevents bootblocks writing

2002-12-21 Thread Andrey A. Chernov
# (Cyl. 16900 - 17500*) c: 358420160unused0 0 # (Cyl.0 - 17500*) Please fix this GEOM bug, to allow to update bootblocks at least. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body

Re: PAWS ack-on-ack loop avoided

2002-12-23 Thread Andrey A. Chernov
On Mon, Dec 23, 2002 at 10:55:05 -0800, Matthew Dillon wrote: That's very odd. I see them on my development box too which is just talking FreeBSD-FreeBSD. We should not be seeing them at all. I got about 200 of them per 6 hours. Nothing unusual, small webserver + SMTP. -- Andrey

Re: PAWS ack-on-ack loop avoided

2002-12-30 Thread Andrey A. Chernov
is turned on on their side. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message

Re: [PATCH] Fix login.conf, expiration, BSD compatibility in OpenSSH

2000-02-29 Thread Andrey A. Chernov
On Mon, Feb 28, 2000 at 08:57:08PM -0500, Brian Fundakowski Feldman wrote: On Sun, 27 Feb 2000, Andrey A. Chernov wrote: This patch revive almost all login.conf and password/account expiration features, makes OpenSSH more FreeBSD login compatible and fix non-critical memory leak

[PATCH] OpenSSH: login.access and more auth_*

2000-03-01 Thread Andrey A. Chernov
void)printf("Permission denied.\n"); + log( + "LOGIN %.200s REFUSED (TTY) FROM %.200s ON TTY %.200s", + pw-pw_name, hostname, ttyname); + exit(254); + } +#endif /* LOGIN_CAP */

event.h troubles

2000-04-18 Thread Andrey A. Chernov
Now I got lost of /usr/include/sys/event.h:159: warning: `struct timespec' declared inside parameter list. because sys/select.h include it. Please fix somehow. -- Andrey A. Chernov [EMAIL PROTECTED] http://nagual.pp.ru/~ache/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubs

tcsh history and month bugfix: tc.prompt.c v3.38

2000-04-20 Thread Andrey A. Chernov
; - *p++ = attributes | *cz++); + *p++ = attributes | *cz++) if (p = ep) break; break; case 'W': -- Andrey A. Chernov [EMAIL PROTECTED] http://nagual.pp.ru/~ache/ To Unsubscribe: send mail to [EMAIL PROTECTED

Re: make release broken...

2000-04-21 Thread Andrey A. Chernov
On Fri, Apr 21, 2000 at 01:54:23PM +0200, Poul-Henning Kamp wrote: === bin/csh/nls cd /usr/src/bin/csh/nls ; make afterdistribute DESTDIR=/R/stage/trees/bin === bin/csh/nls/finnish make: don't know how to make distribute. Stop Fix commited. -- Andrey A. Chernov [EMAIL PROTECTED] http

Re: csh/nls problem causing make release failure

2000-04-24 Thread Andrey A. Chernov
now, I just commit what is supposed to fix. -- Andrey A. Chernov [EMAIL PROTECTED] http://nagual.pp.ru/~ache/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Workaround for hanging on exit: patch for review

2000-04-26 Thread Andrey A. Chernov
-- Andrey A. Chernov [EMAIL PROTECTED] http://nagual.pp.ru/~ache/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: Workaround for hanging on exit: patch for review

2000-04-26 Thread Andrey A. Chernov
= 180 * hz; while initializing tp struct, but it is more radical than I suggest initially. Any ideas? -- Andrey A. Chernov [EMAIL PROTECTED] http://nagual.pp.ru/~ache/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: Workaround for hanging on exit: patch for review

2000-04-26 Thread Andrey A. Chernov
); bzero(tp-t_winsize, sizeof(tp-t_winsize)); } + tp-t_timeout = 180 * hz; /* XXX don't hang forever */ ttsetwater(tp); splx(s); return (0); -- Andrey A. Chernov [EMAIL PROTECTED] http://nagual.pp.ru/~ache/ To Unsubscribe: send mail to [EMAIL PROTECTED

TCP becomes very broken just now

2000-05-06 Thread Andrey A. Chernov
Some of recent kernel TCP changes cause TCP completely not working, i.e. any network daemon (mountd, sendmail, cfsd) started from "rc" on dialup machine hangs with 3min "Can't connect' timeout and user level "ppp" started than hangs forever even not dialing. Please fi

Re: TCP becomes very broken just now

2000-05-06 Thread Andrey A. Chernov
On Sat, May 06, 2000 at 11:53:23PM +0200, Samuel Tardieu wrote: On 7/05, Andrey A. Chernov wrote: | Some of recent kernel TCP changes cause TCP completely not working, | i.e. any network daemon (mountd, sendmail, cfsd) started from "rc" on | dialup machine hangs with 3min &quo

Re: ed driver broken in today's -CURRENT?

2000-05-07 Thread Andrey A. Chernov
that I can send fine, and I can traceroute to the box, but I can't ping. NFS also objects strenuously: It is not dead card, it is broken TCP, see my similar report in -current, I notice it several hours ago right after TCP changes was commited. -- Andrey A. Chernov [EMAIL PROTECTED] http

Re: ed driver broken in today's -CURRENT?

2000-05-07 Thread Andrey A. Chernov
On Sun, May 07, 2000 at 04:15:57PM +0200, Jeroen Ruigrok van der Werven wrote: -On [2507 14:50], Andrey A. Chernov ([EMAIL PROTECTED]) wrote: It is not dead card, it is broken TCP, see my similar report in -current, I notice it several hours ago right after TCP changes was commited. I

It seems that SCSI code still use block devices

2000-05-10 Thread Andrey A. Chernov
still use block devices. -- Andrey A. Chernov [EMAIL PROTECTED] http://nagual.pp.ru/~ache/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: cvs commit: src/sys/netinet tcp.h tcp_input.c tcp_output.c tcp_timer.c tcp_var.h

2000-05-11 Thread Andrey A. Chernov
the same problem occurse in CURRENT-CURRENT ssh connection, both with NewReno! It means that NewReno implementation have some internal errors when two identical -currents can't speak each other properly sometimes (when modem have long 30secs retrain). -- Andrey A. Chernov [EMAIL PROTECTED] http

Re: cvs commit: src/sys/netinet tcp.h tcp_input.c tcp_output.c tcp_timer.c tcp_var.h

2000-05-13 Thread Andrey A. Chernov
uncompressed PPP over a saturated ISDN dialup that drops up to one in every three packets). But this bug is gone (for me at least), when NewReno is turned off. Is it means that NewReno cause very high packet loss somehow? -- Andrey A. Chernov [EMAIL PROTECTED] http://nagual.pp.ru/~ache/ To Unsubscribe

Patch to change CheckMail default for OpenSSH

2000-05-20 Thread Andrey A. Chernov
yes +CheckMail yes #UseLogin no -- Andrey A. Chernov [EMAIL PROTECTED] http://nagual.pp.ru/~ache/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Detecting multiply function definitions

2000-05-23 Thread Andrey A. Chernov
Why our ld is able to detect multiply defined functions only for static linking? What prevents us to use the same algorithm for shared linking too? It is very unsafe otherwise to do shared linking... -- Andrey A. Chernov [EMAIL PROTECTED] http://nagual.pp.ru/~ache/ To Unsubscribe: send mail

[dickey@herndon4.his.com: Re: Incorrect exporting of trace() function (with patch)]

2000-05-23 Thread Andrey A. Chernov
Incorrect exporting of trace() function (with patch) To: "Andrey A. Chernov" [EMAIL PROTECTED] cc: [EMAIL PROTECTED], [EMAIL PROTECTED] On Tue, 23 May 2000, Andrey A. Chernov wrote: There is a namespace pollution preventing lots of application linking with I already addressed thi

Re: cvs commit: src/contrib/ncurses/include curses.h.in src/contrib/ncurses/ncurses/trace lib_trace.c

2000-05-23 Thread Andrey A. Chernov
to 2 in lib_trace.o Yes, this bug is very dangerous and many places are affected so I fix it immediately. The fact our ld can't detect multiply definitions when linking shared is another issue - I recently send this to -current, but still got no reaction. -- Andrey A. Chernov [EMAIL PROTECTED

Re: cvs commit: src/contrib/ncurses/include curses.h.in src/contrib/ncurses/ncurses/trace lib_trace.c

2000-05-24 Thread Andrey A. Chernov
as in static linking. What about adding special ld flag to allow duplicate linking and change default case the same way as static linking does? -- Andrey A. Chernov [EMAIL PROTECTED] http://nagual.pp.ru/~ache/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-cu

[dickey@herndon4.his.com: http://x75.deja.com/=dnc/[ST_rn=ps,ST_m=ps]/getdoc.xp?AN=626356488CON]

2000-05-24 Thread Andrey A. Chernov
/ncurses/trace lib_trace.c Author: "Andrey A. Chernov" [EMAIL PROTECTED] Date: 2000/05/24 Forum:mailing.freebsd.cvs more headers author posting history Post Reply ž Prev ž Next _ On Tue, Ma

What happens with SECURELVL? (init complains)

2000-06-06 Thread Andrey A. Chernov
up the mess. -- Andrey A. Chernov [EMAIL PROTECTED] http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

ls

2000-06-06 Thread Andrey A. Chernov
FYI: It seems that color support in 'ls' is clean now. I have no ideas or bug reports to fix it more. -- Andrey A. Chernov [EMAIL PROTECTED] http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: ls

2000-06-06 Thread Andrey A. Chernov
colors from ports. -- Andrey A. Chernov [EMAIL PROTECTED] http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: mktemp() patch

2000-06-08 Thread Andrey A. Chernov
are we still using the pid? It is highly non-random. It was originally I agree. We must not use getpid() since we have arc4random(). -- Andrey A. Chernov [EMAIL PROTECTED] http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" i

Re: mktemp() patch

2000-06-09 Thread Andrey A. Chernov
binary in MSDOS FS with MSDOS files. Basically, I think the answer is not to use a nwfs or smbfs filesystem as your TMPDIR :-) mktemp() makes temp files in any directory including current one. -- Andrey A. Chernov [EMAIL PROTECTED] http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL

Re: mktemp() patch

2000-06-09 Thread Andrey A. Chernov
this. -- Andrey A. Chernov [EMAIL PROTECTED] http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: mktemp() patch

2000-06-09 Thread Andrey A. Chernov
into the current ${randomnumber}? That way, at least the effort of the whole calculation is not wasted as much. Why to XOR true random bits from arc4random() with non-random bits from getpid()? It only weakens. Better way is just remove any getpid() code and left arc4random() only. -- Andrey

Re: mktemp() patch

2000-06-10 Thread Andrey A. Chernov
On Fri, Jun 09, 2000 at 11:23:58PM -0700, Andrey A. Chernov wrote: On Fri, Jun 09, 2000 at 07:37:09PM -0400, Jeroen C. van Gelderen wrote: Why to XOR true random bits from arc4random() with non-random bits from getpid()? It only weakens. Better way is just remove any getpid() code

Re: mktemp() patch

2000-06-10 Thread Andrey A. Chernov
On Fri, Jun 09, 2000 at 11:23:58PM -0700, Andrey A. Chernov wrote: would be the way to go: 64^6 = 2^36 possibilities which is nice... 1) Just totally opposite: mixing random with non-random sources you'll get into collision much faster then with random source only. 2) Yet, of course

Re: mktemp() patch

2000-06-10 Thread Andrey A. Chernov
is altogether pretty small. I'll do some calculations to estimate the exact level of risk here. Please note that you turn never probavility into small one, and it is degradation. "never" is not completely never, of course, but if temp file stays until pids wrapped. -- Andrey A. Cher

Re: mktemp() patch

2000-06-10 Thread Andrey A. Chernov
On Fri, Jun 09, 2000 at 11:53:34PM -0700, Matthew Dillon wrote: :1) Just totally opposite: mixing random with non-random sources you'll get :into collision much faster then with random source only. 2) Yet, of course, :the code handles collisions. : :-- :Andrey A. Chernov :[EMAIL

Re: mktemp() patch

2000-06-10 Thread Andrey A. Chernov
if it If it not weakers I can't see why it strenghthens. I.e. you can constantly strenghthens generator with passing it through XOR -1? If not, why any other value is better than -1? -- Andrey A. Chernov [EMAIL PROTECTED] http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe fr

Re: mktemp() patch

2000-06-10 Thread Andrey A. Chernov
On Sat, Jun 10, 2000 at 07:43:06PM -0700, Andrey A. Chernov wrote: On Sat, Jun 10, 2000 at 09:31:49AM +0200, Mark Murray wrote: Incorrect. See my other mail; ${RANDOM} xor ${PREDICTABLE} is random. Only if predictable have the same bits number as random. If not all bits of random XOR-ed

Re: mktemp() patch

2000-06-10 Thread Andrey A. Chernov
On Sat, Jun 10, 2000 at 07:36:10PM -0700, Andrey A. Chernov wrote: On Fri, Jun 09, 2000 at 11:53:34PM -0700, Matthew Dillon wrote: :1) Just totally opposite: mixing random with non-random sources you'll get :into collision much faster then with random source only. 2) Yet, of course

Re: mktemp() patch

2000-06-11 Thread Andrey A. Chernov
tries to predict random number generator itself and know pid and mktemp() algorithm, adding getpid() bits he already know will not stop him from this attack unless you plan to keep mktemp() algorihtm secret. -- Andrey A. Chernov [EMAIL PROTECTED] http://ache.pp.ru/ To Unsubscribe: send mail

ppp is broken now

2000-06-14 Thread Andrey A. Chernov
Fresh -current, "ppp -auto system" not react on outgoing packets and not dial, it seems they routed to dead end. Direct "dial system" command dials in, but packets not routed too. Restoring ppp from 8 Jun fix it. -- Andrey A. Chernov [EMAIL PROTECTED] http://ache.pp.ru/

res_init.c 1.20 broke non-INET6 kernel!

2000-06-14 Thread Andrey A. Chernov
to AF_INET -- Andrey A. Chernov [EMAIL PROTECTED] http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: res_init.c 1.20 broke non-INET6 kernel!

2000-06-14 Thread Andrey A. Chernov
On Wed, Jun 14, 2000 at 12:21:48PM -0700, Andrey A. Chernov wrote: All nameservers are initialized to AF_INET6 which cause socket() to return -1 in non-INET6 kernel. All names lookups fails as result. Returning res_init.c to 1.19 and res_send.c to 1.32 solve this thing. -- Andrey

Re: ppp is broken now

2000-06-14 Thread Andrey A. Chernov
On Wed, Jun 14, 2000 at 06:46:07PM +0400, Andrey A. Chernov wrote: Fresh -current, "ppp -auto system" not react on outgoing packets and not dial, it seems they routed to dead end. Direct "dial system" command dials in, but packets not routed too. Restoring ppp from 8

bug: device ether no longer optional

2000-06-28 Thread Andrey A. Chernov
Without "device ether" in config file kernel fails to compile and complains on undefined function ether_ifdetach() in if.c:if_detach() Please fix. -- Andrey A. Chernov [EMAIL PROTECTED] http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe

Re: Laptop boot problem in current with GENERIC GENERIC.hints

2000-06-28 Thread Andrey A. Chernov
with fresh -current bootblock loaded ok but hangs in boot (no diagnostics even printed). Kernel from Jun14 with fresh -current bootblocks booted Ok. -- Andrey A. Chernov [EMAIL PROTECTED] http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-cu

bug: kernel hangs at boot

2000-06-29 Thread Andrey A. Chernov
Fresh -current kernel with fresh -current bootblocks loaded ok but hangs in boot (no diagnostics even printed, just silent hang with "/" on the screen). Kernel from Jun14 with fresh -current bootblocks (i.e. the same bootblocks) booted Ok. -- Andrey A. Chernov [EMAIL PROTE

Re: bug: device ether no longer optional

2000-06-29 Thread Andrey A. Chernov
On Thu, Jun 29, 2000 at 11:57:59AM -0700, Archie Cobbs wrote: Andrey A. Chernov writes: Without "device ether" in config file kernel fails to compile and complains on undefined function ether_ifdetach() in if.c:if_detach() Please fix. I'm working on it. Of course

Boot hang (was Re: bug: device ether no longer optional)

2000-06-30 Thread Andrey A. Chernov
instead of "-O -pipe", but I have it working for years! -- Andrey A. Chernov [EMAIL PROTECTED] http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: bug: kernel hangs at boot

2000-06-30 Thread Andrey A. Chernov
On Wed, Jun 28, 2000 at 11:03:22PM -0700, Andrey A. Chernov wrote: Fresh -current kernel with fresh -current bootblocks loaded ok but hangs in boot (no diagnostics even printed, just silent hang with "/" on the screen). Kernel from Jun14 with fresh -current bootblocks (i.e

Re: bug: device ether no longer optional

2000-06-30 Thread Andrey A. Chernov
to get over the hump. I have it in my copy of UPDATING now and will commit it later today. The last phrase can be more specific - "add randomdev_load="YES" to your /boot/loader.conf" -- Andrey A. Chernov [EMAIL PROTECTED] http://ache.pp.ru/ To Unsubscribe: send mail

perl6 first time build problem

2000-06-30 Thread Andrey A. Chernov
) /usr/obj/usr/src/gnu/usr.bin/perl/perl/../miniperl/miniperl:No such file or dire ctory *** Error code 1 -- Andrey A. Chernov [EMAIL PROTECTED] http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: perl6 first time build problem

2000-07-01 Thread Andrey A. Chernov
way to add CFLAGS (highly-optimized for me) when building additional perl object modules? I see something with name 'cflags' extracted now, so it can helps maybe. This problem stays too long... -- Andrey A. Chernov [EMAIL PROTECTED] http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL

perl standard modules not installed properly (with fix)

2000-07-01 Thread Andrey A. Chernov
all: man3pages -- Andrey A. Chernov [EMAIL PROTECTED] http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: bug: kernel hangs at boot

2000-07-01 Thread Andrey A. Chernov
On Fri, Jun 30, 2000 at 06:29:11AM -0700, Andrey A. Chernov wrote: On Wed, Jun 28, 2000 at 11:03:22PM -0700, Andrey A. Chernov wrote: Fresh -current kernel with fresh -current bootblocks loaded ok but hangs in boot (no diagnostics even printed, just silent hang with "/" on

perl, cron or sh bug

2000-07-01 Thread Andrey A. Chernov
not shure, is this cron bug calling with ignoring SIGCHLD, sh bug, or perl bug. I think cron shouldn't call anything with SIGCHLD ignored. -- Andrey A. Chernov [EMAIL PROTECTED] http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: perl, cron or sh bug

2000-07-01 Thread Andrey A. Chernov
On Sat, Jul 01, 2000 at 01:49:07PM -0700, Andrey A. Chernov wrote: On Sat, Jul 01, 2000 at 07:00:07PM +0200, Mark Murray wrote: I've got this and some other tweaks commit-ready; I'll do them tomorrow... When running as cron job, from shell script, perl now always say this: "Can't i

Re: perl, cron or sh bug

2000-07-01 Thread Andrey A. Chernov
On Sat, Jul 01, 2000 at 02:03:01PM -0700, Andrey A. Chernov wrote: On Sat, Jul 01, 2000 at 01:49:07PM -0700, Andrey A. Chernov wrote: On Sat, Jul 01, 2000 at 07:00:07PM +0200, Mark Murray wrote: I've got this and some other tweaks commit-ready; I'll do them tomorrow... When running

Re: perl, cron or sh bug

2000-07-02 Thread Andrey A. Chernov
about re-allowing SIGCHLD after second fork (i.e.vfork), just before execle()? Any objections? Not from me, as long as the implications are understood... I already solve this thing. -- Andrey A. Chernov [EMAIL PROTECTED] http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED

New boot0 not work with ahc

2000-07-14 Thread Andrey A. Chernov
New boot0 cause dead hang (nothing appearse on the screen) with Adaptec SCSI BIOS ahc0: Adaptec 2940 Ultra SCSI adapter Standard MBR works fine. All in first 1024 cyls. -- Andrey A. Chernov [EMAIL PROTECTED] http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED

Re: New boot0 not work with ahc

2000-07-15 Thread Andrey A. Chernov
On Fri, Jul 14, 2000 at 01:38:44PM -0700, John Baldwin wrote: Errm, do you have some more details? I sent you more details personally. The only difference I think is underlaying old HP Vectra BIOS to wich SCSI BIOS pass unknown int13 and HP Vectra BIOS hangs. -- Andrey A. Chernov [EMAIL

HEADS UP, mtree defaults returns back to original

2000-07-16 Thread Andrey A. Chernov
This is possible /usr/src/UPDATING entry: 2716: mtree now NOT follows symlinks by default, old behaviour restored to be compatible with rest of *BSD camp. New -L option added to follow symlinks. This require manual mtree rebuilding before 'make world' -- Andrey

randomdev entropy gathering is really weak

2000-07-16 Thread Andrey A. Chernov
be even not present, so machine timer must be used at least after reboot stage i.e. in randomdev init procedure. Otherwise first random values are very predictable and subject for attack. -- Andrey A. Chernov [EMAIL PROTECTED] http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED

Re: randomdev entropy gathering is really weak

2000-07-16 Thread Andrey A. Chernov
randomness available. To be joking: MD5 of kernel module can help too :-) -- Andrey A. Chernov [EMAIL PROTECTED] http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

rc.shutdown hook is not a solution (was Re: randomdev entropy gathering is really weak)

2000-07-17 Thread Andrey A. Chernov
should relay only on processor registers always present, i.e. timers and so on. rc.shutdown hook not solve problem completely. -- Andrey A. Chernov [EMAIL PROTECTED] http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: HEADS UP, mtree defaults returns back to original

2000-07-18 Thread Andrey A. Chernov
On Mon, Jul 17, 2000 at 11:18:17PM -0600, Warner Losh wrote: In message [EMAIL PROTECTED] "Andrey A. Chernov" writes: : 2716: : mtree now NOT follows symlinks by default, old behaviour restored to be : compatible with rest of *BSD camp. New -L option added

  1   2   3   4   5   6   >