Re: [patch] SUBDIR_OVERRIDE `optimization'

2010-07-11 Thread Ruslan Ermilov
d, so this change would be an optimization for the uncommon case. Having said that, I don't mind if you commit it, if you like. Cheers, -- Ruslan Ermilov r...@freebsd.org FreeBSD committer ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: [patch] usr.bin/elf2aout/elf2aout.1

2010-02-12 Thread Ruslan Ermilov
On Fri, Feb 12, 2010 at 02:32:44PM +0100, Alexander Best wrote: > hi there, > > just a small format correction. Committed to -CURRENT, except I didn't touch ".Dd" and fixed usage() as well. Cheers, -- Ruslan Ermilov r...@freeb

Re: POSIXfy readlink() call

2009-05-12 Thread Ruslan Ermilov
t seems the ABI breakage > would only be for 64-bit platforms that passed a -ve value as the buffer > size. However, doing so would already either panic due to triggering an > assertion, or result in otherwise undefined behavior and that making the new > parameter unsigned

Re: bsd.obj.mk does not set CANONICALOBJDIR correctly when TARGET_ARCH and MAKEOBJDIRPREFIX are set

2009-01-04 Thread Ruslan Ermilov
; + MAKEOBJDIRPREFIX=${TEMPROOT}/usr/obj ${MM_MAKE} ${ARCHSTRING} _obj SUBDIR_OVERRIDE=etc && + MAKEOBJDIRPREFIX=${TEMPROOT}/usr/obj ${MM_MAKE} ${ARCHSTRING} everything SUBDIR_OVERRIDE=etc && MAKEOBJDIRPREFIX=${TEMPROOT}/usr/obj ${MM_MAKE} ${ARCHSTRING} \ DESTDIR=${TEMPROOT} distribution;} || { echo ''; %%% Cheers, -- Ruslan Ermilov r...@freebsd.org FreeBSD committer ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: Creation of the NO_SSP build knob

2008-09-05 Thread Ruslan Ermilov
it to "no" if a user set WITHOUT_SSP (either on a command line, in /etc/make.conf, or in environment), and then the second line will unconditionally reset it to "no". This will work in the SSP case, but may not work in general because some options have dependencies. Fortunat

Re: WITHOUT_INSTALLLIB blues

2008-06-30 Thread Ruslan Ermilov
e "build" stage, it will break it because "build" internally uses "install" to install libraries to a temporary place (${WORLDTMP}) so the other programs/libraries can link against them. See your /usr/obj/usr/src/tmp{,/usr}/lib for details (for a canonical mix of /usr/src

Re: WITHOUT_INSTALLLIB blues

2008-06-29 Thread Ruslan Ermilov
ne > add it to /usr/src/UPDATING? > It follows from the description of WITHOUT_INSTALLLIB in src.conf(5), but perhaps it's not very obvious. Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer ___ freebsd-hackers@freebsd.org mailing list http://l

Re: WITHOUT_INSTALLLIB blues

2008-06-29 Thread Ruslan Ermilov
y set it for installworld. > *nods* -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Using special CFLAGS for a single file without writing the rule

2008-04-28 Thread Ruslan Ermilov
le, or through a hack similar to the one found in the last two lines of libc/Makefile. Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Make release fails on mdconfig

2007-12-05 Thread Ruslan Ermilov
with the output of a native ``make buildworld'' compiled from sources matching the currently running kernel." ^ Please fix that and try again. Following this requirement solved a similar problem for a colleague here. Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD c

Re: Netgraph ng_bridge status message missing last three values?

2007-10-19 Thread Ruslan Ermilov
t; but I can't seem to find anything that is dropping these variables from > ngctl's output. > Struct members with zero values aren't shown. Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Init.c, making it chroot

2006-12-27 Thread Ruslan Ermilov
/etc/rc process will be run inside a chroot(2) indicated : by sysctl with the same error handling as above. Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgpO7LdxYof4f.pgp Description: PGP signature

Re: vn_fullpath question.

2006-11-27 Thread Ruslan Ermilov
On Mon, Nov 27, 2006 at 05:37:12PM +0200, Nikolay Pavlov wrote: > On Monday, 27 November 2006 at 18:20:03 +0300, Ruslan Ermilov wrote: > > On Mon, Nov 27, 2006 at 02:07:40PM +0200, Nikolay Pavlov wrote: > > > Hi. I am trying to extend fstat utility, so that it can use name cache

Re: vn_fullpath question.

2006-11-27 Thread Ruslan Ermilov
e's a vn_fullpath(9) manpage which should answer this. Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgpb1ni6jnw8i.pgp Description: PGP signature

Re: Ramdisk support

2006-11-15 Thread Ruslan Ermilov
D-ROM and floppy booting. What of these do you need? Like others have said, we can load kernels with an embedded root filesystem image; the image can either be read-write or read-only; in the latter case, it can also be compressed with geom_uzip(4). Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgpjZoVUXmcH7.pgp Description: PGP signature

Re: RFC: pam_krb5: minimum_[ug]id options

2006-11-09 Thread Ruslan Ermilov
strerror(errno)); > + return (PAM_SERVICE_ERR); > + } > + } else if (mingid > GID_MAX) { > + PAM_LOG("Error in minimum_gid: invalid GID"); > + return (PAM_SERVICE_ERR); > + } > + } > + > + if (pwd->pw_uid < minuid || pwd->pw_gid < mingid) > + return (PAM_IGNORE); Ditto for the GID code. Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgpfD2rHnQDuM.pgp Description: PGP signature

Re: RFC: pam_krb5: minimum_[ug]id options

2006-11-08 Thread Ruslan Ermilov
ULL, 10); > + > + if (pwd->pw_uid < minuid || pwd->pw_gid < mingid) > + return (PAM_IGNORE); > + > + PAM_LOG("Checked uid and gid bounds"); > + > /* Retrieve the temporary cache */ > retval = pam_get_data(pamh, "c

Re: m_free() in if_bridge

2006-11-08 Thread Ruslan Ermilov
will : free the entire chain, instead of using m_free() which will free just the : mbuf that was passed. : : Discussed with: thompsa : MFC after: 3 days Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgpunGeIg36Kh.pgp Description: PGP signature

Re: Puzzling variables behaviour in make(1)

2006-11-05 Thread Ruslan Ermilov
t precedence. %%% Index: parse.c === RCS file: /home/ncvs/src/usr.bin/make/parse.c,v retrieving revision 1.111 diff -u -p -r1.111 parse.c --- parse.c 22 Jul 2006 14:00:31 - 1.111 +++ parse.c 5 Nov 2006 21:09:51 -0000 @@ -

Re: src.conf(5) seems to affect ports build

2006-10-24 Thread Ruslan Ermilov
On Tue, Oct 24, 2006 at 04:23:40PM +0100, Florent Thoumie wrote: > On Tue, 2006-10-24 at 17:48 +0400, Ruslan Ermilov wrote: > > On Sun, Oct 22, 2006 at 05:34:36PM +0200, Jeremie Le Hen wrote: > > > Ruslan, > > > > > > On Sat, Oct 21, 2006 at 09:25:33PM +0400,

Re: src.conf(5) seems to affect ports build

2006-10-24 Thread Ruslan Ermilov
On Sun, Oct 22, 2006 at 05:34:36PM +0200, Jeremie Le Hen wrote: > Ruslan, > > On Sat, Oct 21, 2006 at 09:25:33PM +0400, Ruslan Ermilov wrote: > > > Also, your patch avoids performing the WITH(OUT)_* stuff for ports in > > > order to prevent from polluting the na

Re: src.conf(5) seems to affect ports build

2006-10-21 Thread Ruslan Ermilov
On Sat, Oct 21, 2006 at 06:26:35PM +0200, Jeremie Le Hen wrote: > Hi Ruslan, > > On Fri, Oct 20, 2006 at 11:13:32PM +0400, Ruslan Ermilov wrote: > > On Fri, Oct 20, 2006 at 05:08:48PM +0200, Jeremie Le Hen wrote: > > > Hi, > > > > > > src.conf(5) manua

Re: src.conf(5) seems to affect ports build

2006-10-20 Thread Ruslan Ermilov
ccount even for port builds. > > Is it the expected behaviour ? Maybe WITH(OUT)_ should simply avoid > modifying CFLAGS (though I think this might become useful in the near > future). > See if the attached patch helps. If it does, I'll commit. I've never heard back on this

Re: VBAD vnodes?

2006-10-13 Thread Ruslan Ermilov
h background processes running, the tty is revoked so > it can be reused and so the processes still running cannot mess > around with someone else who reuses the tty. > I've tracked it down to vgonerel() in the kernel, but didn't think it was so simple to reproduce. Thanks a

VBAD vnodes?

2006-10-13 Thread Ruslan Ermilov
xterm8696 - - bad- root adjkerntz1470 - - bad- root adjkerntz1471 - - bad- root adjkerntz1472 - - bad- On RELENG_4, it's "s/bad/none/". Cheers, -- Ruslan

Re: mkdir -m option POSIX compliance

2006-10-10 Thread Ruslan Ermilov
On Tue, Oct 10, 2006 at 08:00:21PM +0200, Alex Unleashed wrote: >On 10/10/06, Ruslan Ermilov <[EMAIL PROTECTED]> wrote: > > On Tue, Oct 10, 2006 at 03:24:14PM +0200, Alex Unleashed wrote: > > Hi all, > > > > "mkdir -m mode -p /

Re: mkdir -m option POSIX compliance

2006-10-10 Thread Ruslan Ermilov
warn("%s", path); - retval = 1; + retval = 0; break; } } else if (vflag) %%% Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgphUqElafYrK.pgp Description: PGP signature

Re: how to 'install' kernel.debug

2006-09-12 Thread Ruslan Ermilov
stead, if you run -CURRENT? > On 6.x, if you use a "buildkernel" method: cd /usr/src; make installkernel.debug or if you build a kernel through config+make, cd ../compile/KERNEL; make install.debug This will install *.debug versions of kernel and all modules. Chee

Re: truncate tool - must be root?

2006-05-30 Thread Ruslan Ermilov
me -sr FreeBSD 7.0-CURRENT $ dd if=/dev/zero of=foo bs=64k count=10 10+0 records in 10+0 records out 655360 bytes transferred in 0.002590 secs (253040511 bytes/sec) $ id -u 1001 $ truncate -s 0 foo $ ls -l foo -rw--- 1 ru ru 0 May 30 19:21 foo $ -- Ruslan Ermilov [EMAIL PROTECTED] Fre

Re: FreeBSD 6.1-RELEASE - make distribution

2006-05-29 Thread Ruslan Ermilov
____ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgpvWmJjKBQLo.pgp Description: PGP signature

Re: world's toolchain & CPUTYPE

2006-03-01 Thread Ruslan Ermilov
hosts "B" and "I" and their build environments are. Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgpvr24TkJVjh.pgp Description: PGP signature

Re: world's toolchain & CPUTYPE

2006-03-01 Thread Ruslan Ermilov
On Wed, Mar 01, 2006 at 06:02:26AM +0300, Alex Semenyaka wrote: > On Tue, Feb 28, 2006 at 10:19:11AM +0200, Ruslan Ermilov wrote: > > > Isn't is reasonable to add corresponding optional functionality > > > into the buld process? > > No. > > Why? :) > I th

Re: world's toolchain & CPUTYPE

2006-02-28 Thread Ruslan Ermilov
On Tue, Feb 28, 2006 at 07:45:20AM +0300, Alex Semenyaka wrote: > On Sun, Feb 26, 2006 at 08:57:21PM +0200, Ruslan Ermilov wrote: > > More details: during the install, part of the toolchain and > > some special install tools that were built on the "build" > > host

Re: world's toolchain & CPUTYPE

2006-02-26 Thread Ruslan Ermilov
mpatible with the "build" host. When "build" == "install", all these conditions are met. When CPUs match, kernels may be different enough so there will be missing syscalls. And so far... Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgpSNCOcrJOOg.pgp Description: PGP signature

Re: world's toolchain & CPUTYPE

2006-02-26 Thread Ruslan Ermilov
arget host first. (I upgrade all my animals in a zoo this way, from the Hammer.) Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgplC58AqacEg.pgp Description: PGP signature

Re: Loading gzipped mfsroot

2005-11-28 Thread Ruslan Ermilov
t; > David > > > > Thanks a lot ! That do the trick :) > It will realy be good if this is documented somewhere - probably in > loader(8) manual page ... And will save people some hours of "blessing" > loader(8) :) > loader(8) has no business documenting this; it's already documented (though not too verbose) in the libstand(3) manpage. Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgpcn5ZjfD1SF.pgp Description: PGP signature

Re: correct use of bus_dmamap_sync

2005-10-25 Thread Ruslan Ermilov
ssion. > > Yes, I know. :) > Please go read the HEAD version of the manpage; it's been fixed recently to improve the description of these details. Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgpN3gKadHm2L.pgp Description: PGP signature

Re: FreeBSD-* files in non-HEAD branches

2005-08-06 Thread Ruslan Ermilov
ther > brakes, opinions? > At least is makes it easy to view diffs between branches. I'd prefer it if you don't remove them from src/contrib/groff/ and src/contrib/texinfo/ at least that I maintain. Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgpY5f1FxA5IO.pgp Description: PGP signature

Re: How to make use of the current source tree's include file?

2005-06-12 Thread Ruslan Ermilov
" -- in this case, the fresh headers are used. But if you are looking for a way to compile a program with a new (previously non-existent) header, the above makes sense. Alternatively, you can "make .. DEBUG_FLAGS=-I${.CURDIR}/.../sys" without modifying the makefile. Cheers, -- Ruslan

Re: How to do a routing lookup inside the kernel in FreeBSD ?

2005-06-10 Thread Ruslan Ermilov
pointers to the right portion of the code are also > apperciated. > man 9 rtalloc Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgplMLIfk8hyC.pgp Description: PGP signature

Re: Bootable CDROM creation system

2005-06-09 Thread Ruslan Ermilov
R=/tmp/cdrom > # cd /usr/src/etc > # make distribution DESTDIR=/tmp/cdrom > # mkisofs -o /tmp/cdrom.iso -r -no-emul-boot -b /tmp/cdrom/boot/cdboot > /tmp/cdrom > # burncd -s max data /tmp/cdrom.iso fixate eject > > did I leave anything out? > :-) -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgp7Tyj0rPmXj.pgp Description: PGP signature

Re: Makefile .for and .if expansion

2005-02-13 Thread Ruslan Ermilov
gt; Am I missing an easier way to do this? > May I suggest the following instead: %%% MANLANG?= foo "" bar all: .for i in ${MANLANG:N""} @echo foo ${i} .endfor %%% Note that `""' is not an empty value in make(1), it's just a regular value consisting of two double quotes. Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgpjj2c9e1zVG.pgp Description: PGP signature

Re: embedded assembler in .c files

2004-12-15 Thread Ruslan Ermilov
lp > appreciated. > find /usr/src/lib/libc -name '*.c' | xargs grep -l __asm__ Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgpDsjkIUxXLX.pgp Description: PGP signature

Re: Patch to be commited.

2004-12-15 Thread Ruslan Ermilov
compilation problem I was having. > > I can confirm that it works as advertised. > > Now, could some nice committer please commit this so I don't have to > fix it again next time I upgrade? > Done, enjoy! Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer

Re: A hack to rebuild port KLDs during kernel builds

2004-11-29 Thread Ruslan Ermilov
portupgrade. I couldn't fit that into the target model, so I : # punted. : ========= Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgpIz0SLAWTYY.pgp Description: PGP signature

Re: boot serial console speed

2004-11-14 Thread Ruslan Ermilov
On Sun, Nov 14, 2004 at 11:38:50AM +0200, Ruslan Ermilov wrote: > On Sun, Nov 14, 2004 at 10:39:13AM +0200, Danny Braniss wrote: > > what's the magic encantation to set the console to 38400? > > btw, i solved my problem by just commenting out that part of the code, > >

Re: boot serial console speed

2004-11-14 Thread Ruslan Ermilov
its (set = 2, clear = 1) : 1-0data bits (00 = 5, 01 = 6, 10 = 7, 11 = 8) 0xE3 = 111-00-0-11 = 9600 bps, no parity, 1 stop bit, 8 data bits But I think it's not possible to set it to anything above 9600 bps using this BIOS call. Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgp0g6jH8W9BY.pgp Description: PGP signature

Re: [CFR] Specify the lock(1) timeout unit

2004-10-21 Thread Ruslan Ermilov
> > Note: this is a suggestion, not an objection to the original patch. > Yes, please. :-) Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgp1k9I6rgODg.pgp Description: PGP signature

Re: BTX scripting help

2004-10-07 Thread Ruslan Ermilov
les: splash.1 nfsserver.1 nfs4.1 nfs.1 if_gif.1 if_faith.1 ether.1 sysvshm.1 sysvsem.1 sysvmsg.1 cd9660.1 isa.1 pseudofs.1 procfs.1 msdosfs.1 usb.1 random.1 ppbus.1 pci.1 null.1 mpt.1 miibus.1 mem.1 ispfw.0 isp.1 sbp.1 fwe.1 firewire.1 ahc.1 ahc_pci.1 ahc_isa.1 ahc_eisa.1 cam.1 Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgpTs6CKWCUlb.pgp Description: PGP signature

Re: How to customize a release?

2004-09-03 Thread Ruslan Ermilov
> Thanks for your help, between you and John I think I've got this mostly > figured out. > I've just updated the release(7) manapge in RELENG_4, merging all documentation changes from HEAD that were relevant. You might want to update and re-read it. Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgpKOda3WZQXj.pgp Description: PGP signature

Re: How to customize a release?

2004-09-02 Thread Ruslan Ermilov
;: one is to *not* use RELEASENOUPDATE -- it will then use CVS to update your source tree (beware this doesn't work if you ran "make release" with EXTSRCDIR). Another is to run "make rerelease" with RELEASENOUPDATE and remove ${CHROOTDIR}/tmp/.world_done before doing it. In

Re: How to customize a release?

2004-09-02 Thread Ruslan Ermilov
have no relevance in "make release". How can I > > force a non generic kernel to be used when building the release? > > There is a 'KERNELS' variable that is helpful. Also, look at LOCAL_PATCHES > and LOCAL_SCRIPTS as far as how to patch a release build. Note that you can > include patches to src/release/Makefile in LOCAL_PATCHES if need be. :) > I'd say, please read the release(7) manpage. Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgpoiYMD5MKux.pgp Description: PGP signature

Re: make "quickworld"? (like in DragonFly)

2004-08-15 Thread Ruslan Ermilov
For example, if compiler sources have been updated, it can generate different code, but foo.o will only depend on foo.c, and will not be rebuilt if you use -DNOCLEAN. In short, don't use it if you don't fully understand all the consequences. ;) Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgpGOBsMPHhOT.pgp Description: PGP signature

Re: How to clean out old files after 'make world'?

2004-07-29 Thread Ruslan Ermilov
ow to remove files obsoleted between releases. I don't know what the current status of this project is, or if it's still alive. ;) Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgpuYagGAVB4Q.pgp Description: PGP signature

Re: RFC: "-exit" option for find(1)

2004-07-26 Thread Ruslan Ermilov
er than > the tarball. > > Neither tar nor find seem to make this easy... > [ `find . -type f -newer ../src.tar.gz |head -1 |wc -l` -eq 0 ] && echo hi Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgptKBBVmt0E5.pgp Description: PGP signature

Re: make installworld for non-root user

2004-07-07 Thread Ruslan Ermilov
On Wed, Jul 07, 2004 at 11:17:00AM +0200, Harti Brandt wrote: > On Wed, 7 Jul 2004, Ruslan Ermilov wrote: > > RE>On Wed, Jul 07, 2004 at 09:57:52AM +0200, Harti Brandt wrote: > RE>> > RE>> Hi all, > RE>> > RE>> is there an easy way for a non-roo

Re: make installworld for non-root user

2004-07-07 Thread Ruslan Ermilov
ts hardcode owners/groups/modes/flags, but it's still possible to install as non-root. In fact, buildworld already does this for you -- it uses src/tools/install.sh as INSTALL to do it (see the BMAKEENV setting in Makefile.inc1). Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgpCsKkhv5F4s.pgp Description: PGP signature

Re: device pooling and high interrupts

2004-05-11 Thread Ruslan Ermilov
Well, basically, 8139's TX/RX engine is just not worth for use with polling(4). Now that we have per-interface polling(4) controls, I suggest that we leave it _disabled_ for rl(4) by default. My tests have shown that I could only get a comparable throughput with rl(4) given HZ=5000, which is *ahem* quite large to be really useful. Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgp0.pgp Description: PGP signature

Re: netgraph ability

2004-04-24 Thread Ruslan Ermilov
0002upper # ifconfig ngeth0 1.2.3.4 # tcpdump -lenx -i dc0 ether host 0:0:0:1:2:3 tcpdump: listening on dc0 20:29:05.571179 0:0:0:1:2:3 ff:ff:ff:ff:ff:ff 0806 42: arp who-has 1.2.3.4 tell 1.2.3.4 0001 0800 0604 0001 0001 0203 0102

Re: Changing ttl of incoming packets

2004-04-22 Thread Ruslan Ermilov
On Thu, Apr 22, 2004 at 07:02:45PM -0700, Julian Elischer wrote: > start with natd and chop it until you have what you want.. > ports/net/tcpmssd might be easier to adopt. Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgp0.pgp Description: PGP signature

Re: Changing ttl of incoming packets

2004-04-22 Thread Ruslan Ermilov
> I have searched on google and mailing lists but i do not find any answer. > I am running Freebsd 5.2.1 and i am using pf as my packet filter. > You mean, make the IP forwarding decrement the IP TTL more than by one? Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pg

Re: make(1) guru question

2004-04-06 Thread Ruslan Ermilov
ame | xargs ... > > within the makefile. I got the suggestion from someone long ago > when I had this problem with src/sys/conf/Makefile.i386 > I can only confirm that this is the only known solution so far. Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgp0.pgp Description: PGP signature

Re: CVS question: diff between dates on a branch

2004-03-18 Thread Ruslan Ermilov
eving revision 1.141.2.39 retrieving revision 1.141.2.57 diff -u -p --brief -r1.141.2.39 -r1.141.2.57 Files /home/ru/tmp/cvsv60oN8 and /home/ru/tmp/cvsmonEXm differ Cheers, -- Ruslan Ermilov FreeBSD committer [EMAIL PROTECTED] pgp0.pgp Description: PGP signature

Re: make install (kernel) without /modules dir

2004-03-12 Thread Ruslan Ermilov
-D > > This flag dictates to create all necessary dirs if needed. > It would be nice to have such option, not -D of course. > $ install file foo/bar Should it install "file" as "foo/bar" or should it create the "foo/bar" directory and install it as "

Re: make install (kernel) without /modules dir

2004-03-12 Thread Ruslan Ermilov
f you attempt to install "src/bin/" when /bin doesn't exist you'll see the same behavior, that's why I think the below change is not quite incorrect. I believe there's a PR open on this (probably even assigned to myself), but I just don't have a clever idea of how

Re: complete in src tree build world w/o /usr/include/** ?

2004-03-11 Thread Ruslan Ermilov
prerequisite for a successful buildworld. > or should that be the case already ? > No. > or why can't it be done ? > We build some tools (like compiler, binutils, make, etc.) using the system headers, libraries, compiler, and binutils. Cheers, -- Ruslan Ermilov FreeBSD c

Re: add cvs -W option to disable -R/CVSREADONLYFS

2004-03-09 Thread Ruslan Ermilov
's not passed on the wire) unless you happen to have it set in ~/.cvsrc on the repository host. Even in this case, it is still possible to commit by setting CVS_SERVER="cvs -f" in the environment of the committing host. Cheers, -- Ruslan Ermilov FreeBSD committer [EMAIL PROTECTED] pgp0.pgp Description: PGP signature

Re: DEVICE_IDENTIFY(9)

2004-03-05 Thread Ruslan Ermilov
On Fri, Mar 05, 2004 at 11:52:28AM +0100, Mark Santcroos wrote: > The above manpage documents the return values, but it is a void function. > Fixed, thanks! Cheers, -- Ruslan Ermilov FreeBSD committer [EMAIL PROTECTED] pgp0.pgp Description: PGP signature

Re: Adding 'realclean' target to /usr/src/Makefile

2004-02-16 Thread Ruslan Ermilov
I tried it (which admittedly was a long time ago, so > grab your salt grainer), the same applied to world builds too. > To stop this from being happening, Jun Kuriyama has done a cleanup lately to replace lots of symlink created during buildworld with cp(1) commands. Cheers, -- Ruslan Ermi

Re: ELF branding / magic numbers

2004-02-05 Thread Ruslan Ermilov
s both documented in the elf(5) manpage, and is shown in the ``readelf -h'' output. Cheers, -- Ruslan Ermilov FreeBSD committer [EMAIL PROTECTED] pgp0.pgp Description: PGP signature

Re: Build System Doc

2004-01-29 Thread Ruslan Ermilov
are/mk but i guess reading makefiles could be a bit difficult to > get the big picture. > man 7 build Cheers, -- Ruslan Ermilov FreeBSD committer [EMAIL PROTECTED] pgp0.pgp Description: PGP signature

Re: ip_input - chksum - why is it done so early in ip_input?

2004-01-26 Thread Ruslan Ermilov
y free OS. It's in my opinion a very suitable OS for > routing/forwarding. > Have you tried ``sysctl net.inet.ip.fastforwarding=1''? It's documented in the inet(4) manpage. Cheers, -- Ruslan Ermilov FreeBSD committer [EMAIL PROTECTED] pgp0.pgp Description: PGP signature

Re: FreeBSD 5.2-RELEASE buildworld failure.

2004-01-24 Thread Ruslan Ermilov
5:31:55 2003 UTC : to Thu Jun 5 12:10:19 2003 UTC (from rev 1.30 to rev 1.31 of : usr.bin/sed/process.c). To see if you're affected, run this: ident /usr/bin/sed And see which process.c revision your sed(1) has. It if's 1.30, you're affected. Cheers, -- Ruslan Ermilov FreeBSD committer [EMAIL PROTECTED] pgp0.pgp Description: PGP signature

Re: send(2) does not block, send(2) man page wrong?

2004-01-23 Thread Ruslan Ermilov
se send buffer (like TCP does) for storing data, only receive buffer, so SO_SNDBUF only affects the maximum size of one write operation. Cheers, -- Ruslan Ermilov FreeBSD committer [EMAIL PROTECTED] pgp0.pgp Description: PGP signature

Re: __restrict__ vs __restrict ?

2004-01-19 Thread Ruslan Ermilov
ur kernel should be C99 clean, we should compile it with -std=c99, and replace all `__restrict''s in not headers with C99 `restrict's. Cheers, -- Ruslan Ermilov FreeBSD committer [EMAIL PROTECTED] pgp0.pgp Description: PGP signature

Re: [CHECKER] bugs in FreeBSD

2004-01-19 Thread Ruslan Ermilov
On Sun, Jan 18, 2004 at 05:44:52PM -0500, Matthew N. Dodd wrote: > On Sun, 18 Jan 2004, Ruslan Ermilov wrote: > > But we're missing the proper NULL checking, here's the fix: > ... > > I've already dealt with this. > Neat, this works much better! Can you

Re: [CHECKER] bugs in FreeBSD

2004-01-18 Thread Ruslan Ermilov
On Sun, Jan 18, 2004 at 05:44:48PM +0200, Ruslan Ermilov wrote: > On Fri, Jan 16, 2004 at 04:09:34PM -0800, Paul Twohey wrote: > [...] > > - > > [BUG] > > /u2/engler/mc/freebsd/sys/i386/compile/GENERIC/../../..

Re: [CHECKER] bugs in FreeBSD

2004-01-18 Thread Ruslan Ermilov
t->unit, /*untagged*/2, /*tagged*/dpt->max_dccbs, devq); + if (dpt->sims[i] == NULL) + break; if (xpt_bus_register(dpt->sims[i], i) != CAM_SUCCESS) { cam_sim_free(dpt-

Re: [CHECKER] bugs in FreeBSD

2004-01-18 Thread Ruslan Ermilov
On Sun, Jan 18, 2004 at 02:45:02PM +0200, Ruslan Ermilov wrote: > Scott, > > Attached is the patch that fixes memory leak according to the below report. > Attached is the corrected patch that doesn't do a waiting malloc() while interrupts are blocked. Yes I know that splbio()

Re: [CHECKER] bugs in FreeBSD

2004-01-18 Thread Ruslan Ermilov
>state & IPS_OFFLINE){ > splx(mask); > Error ---> > return EIO; > } > command = SLIST_FIRST(&sc->free_cmd_list); > if(command && !(sc->state & IPS_TIMEOUT)){ >

Re: __restrict__ vs __restrict ?

2004-01-17 Thread Ruslan Ermilov
9, void foo(char * restrict fa) { } but will break this for -std=c89: void restrict(void) { } We have a problem if we want to mix old C89 and new C99 code. Cheers, -- Ruslan Ermilov FreeBSD committer [EMAIL PROTECTED] pgp0.pgp Description: PGP signature

Re: __restrict__ vs __restrict ?

2004-01-16 Thread Ruslan Ermilov
OR__ == 95) #if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901 #define __restrict #else #define __restrict restrict #endif #endif with #if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901 #define restrict #endif and just use "restrict" everywhere. Also similarly I'm not aware of the status of the CSTD feature for share/mk that was backed out. (8 makefiles in src/ still have CSTD.) Cheers, -- Ruslan Ermilov FreeBSD committer [EMAIL PROTECTED] pgp0.pgp Description: PGP signature

Re: Upgrade from 4.9 to 5.1

2004-01-15 Thread Ruslan Ermilov
c/lib/libpam/modules/pam_krb5/../../libpam > /usr/src/lib/libpam/modules/pam > _krb5/pam_krb5.c > *** Error code 1 > This doesn't inlude the actual error that caused the breakage. Please put the full log (compressed) available somewhere for download, and I will look into it. C

Re: 5.1 -> 5.2 upgrade, Promise FastTrak device /dev/ar0 missing?

2003-12-28 Thread Ruslan Ermilov
u want to be > changed from the defaults. > There is: look how the PAE and OLDCARD configs are constructed. Cheers, -- Ruslan Ermilov FreeBSD committer [EMAIL PROTECTED] pgp0.pgp Description: PGP signature

Re: FBSD 5-CURRENT: Kernel Makefile.inc1 Error

2003-12-06 Thread Ruslan Ermilov
7; of a 5.2 kernel. > This is a dead horse, but ``make -DALWAYS_CHECK_MAKE buildkernel'' will do the trick even without buildworld'ing first. Cheers, -- Ruslan Ermilov FreeBSD committer [EMAIL PROTECTED] pgp0.pgp Description: PGP signature

Re: BSD make question

2003-08-10 Thread Ruslan Ermilov
On Thu, Aug 07, 2003 at 02:50:51PM -0400, Andrew Gallatin wrote: > > Ruslan Ermilov writes: > > On Thu, Aug 07, 2003 at 02:42:30PM -0400, Andrew Gallatin wrote: > > > > > > Using BSD make, how can I apply different rules based on different > > > directo

Re: sysctl kern.ipc.shm* description ?

2003-08-08 Thread Ruslan Ermilov
6/conf/LINT on 4.x. Cheers, -- Ruslan Ermilov Sysadmin and DBA, [EMAIL PROTECTED] Sunbay Software Ltd, [EMAIL PROTECTED] FreeBSD committer pgp0.pgp Description: PGP signature

Re: BSD make question

2003-08-08 Thread Ruslan Ermilov
lib/foo.c \ > lib/bar.c > > MCP=\ > mcp/baz.c > > all: $(LIB:.c=.o) $(MCP:.c=.o) > > lib/%.o: lib/%.c > gcc -DLIB -c $< -o $@ > > mcp/%.o: mcp/%.c > gcc -DMCP -c $< -o $@ > > .PHONY: clean > clean: > rm -f

Re: Assembly Syscall Question

2003-07-31 Thread Ruslan Ermilov
to fake the kernel we're calling it from the syscall code in libc. Cheers, -- Ruslan Ermilov Sysadmin and DBA, [EMAIL PROTECTED] Sunbay Software Ltd, [EMAIL PROTECTED] FreeBSD committer pgp0.pgp Description: PGP signature

Re: make -U

2003-07-30 Thread Ruslan Ermilov
On Wed, Jul 30, 2003 at 04:23:20PM -0500, Juli Mallett wrote: > * Ruslan Ermilov <[EMAIL PROTECTED]> [ Date: 2003-07-30 ] > [ w.r.t. make -U ] > > Sorry, I've accidentally dropped an email about `make -U'. > > > > I think that it's not need

make -U

2003-07-30 Thread Ruslan Ermilov
following makefile, FOO+= bar all: @echo ${FOO} when run as ``make FOO=foo'', will print just ``foo''. Cheers, -- Ruslan Ermilov Sysadmin and DBA, [EMAIL PROTECTED] Sunbay Software Ltd, [EMAIL PROTECTED] FreeBSD committer pgp0.pgp Description: PGP signature

Re: How to use functions from libs in /usr/local/lib in pam?

2003-07-21 Thread Ruslan Ermilov
in LDFLAGS, so it should look like this: LIBLDAP=/usr/local/lib/libldap.a DPADD= ${LIBCRYPT} ${LIBLDAP} LDADD= -lcrypt -lldap LDFLAGS=-L/usr/local/lib Cheers, -- Ruslan Ermilov Sysadmin and DBA, [EMAIL PROTECTED] Sunbay Software Ltd, [EMAIL PROT

Re: Is GNATS broken ??

2003-06-28 Thread Ruslan Ermilov
On Sun, Jun 29, 2003 at 02:18:01AM +0200, Vahe Khachikyan wrote: [...] > Who knows whether the mentioned server is in blacklist ? > http://dsbl.org/listing Cheers, -- Ruslan Ermilov Sysadmin and DBA, [EMAIL PROTECTED] Sunbay Software Ltd, [EMAIL PRO

FreeBSD CVSROOT scripts and spaces in directory and file names

2003-06-21 Thread Ruslan Ermilov
e for third party application. Josef, Peter suggested me to ask you to please address this particular problem with "awake", and to make this script useful for third-parties again. Cheers, -- Ruslan Ermilov Sysadmin and DBA,

Re: How do I see open sockets count (kern.ipc.maxsockets, butstatus)

2003-06-13 Thread Ruslan Ermilov
ix your ENOBUFS problem. : 55 ENOBUFS No buffer space available. An operation on a socket or pipe : was not performed because the system lacked sufficient buffer : space or because a queue was full. Cheers, -- Ruslan Ermilov Sysadmin and DBA, [EMAIL PROTECTED] Sun

Re: Policy Routing / NAT Question

2003-06-11 Thread Ruslan Ermilov
network 12 says to use 10.0.0.2 as the source address when sending anonymous (with unfilled source address) datagrams. But if you need to change the traffic originated from other hosts on your box, there are several NAT solutions for you. Cheers, -- Ruslan Ermilov Sysadmin and DBA, [E

Re: build-tools and sed

2003-06-11 Thread Ruslan Ermilov
y another case, and we put stuff either in bootstrap-tools or cross-tools, depending on their nature. (cross-tools are similar to bootstrap-tools except for also directly depending on the value of TARGET_ARCH/TARGET.) Cheers, -- Ruslan Ermilov Sysadmin and DBA, [EMAIL PROTECTED] Sunbay Software Ltd, [EMAIL PROTECTED] FreeBSD committer pgp0.pgp Description: PGP signature

Re: Are write() calls guaranteed atomic?

2003-06-03 Thread Ruslan Ermilov
t; > > -- > > Dan Nelson > > [EMAIL PROTECTED] > > > Dan, > > Thanks for the info, very helpful! What reference did you get that from? > I searched high and low to find a definitive answer (like the one above) > before posting. > http://www.unix-systems.org/version3/online.html -- Ruslan Ermilov Sysadmin and DBA, [EMAIL PROTECTED] Sunbay Software Ltd, [EMAIL PROTECTED] FreeBSD committer pgp0.pgp Description: PGP signature

Re: libc_r: threaded application could stuck in accept(2)

2003-05-31 Thread Ruslan Ermilov
On Fri, May 30, 2003 at 08:16:41PM +0300, Ruslan Ermilov wrote: > On Fri, May 30, 2003 at 07:07:23PM +0300, Enache Adrian wrote: > > On Fri, May 30, 2003 at 05:35:41PM +0300, Ruslan Ermilov wrote: > > > We had a bug in our threaded application that would mistakenly close >

Re: libc_r: threaded application could stuck in accept(2)

2003-05-31 Thread Ruslan Ermilov
On Fri, May 30, 2003 at 07:07:23PM +0300, Enache Adrian wrote: > On Fri, May 30, 2003 at 05:35:41PM +0300, Ruslan Ermilov wrote: > > We had a bug in our threaded application that would mistakenly close > > the descriptor 0, and this triggers a bug in libc_r which I will try > &

  1   2   3   >