cron(8): openlog: ProgramName -> "cron"

2012-04-21 Thread Andrew Pantyukhin
Hello! cron(8) is one of the rare services that puts something complicated in ident (aka progname aka programname) field of the syslog messages it sends: /usr/sbin/cron[PID]. Would anyone be against changing it to just "cron" to ease filtering with stock and third-party syslog daemons, expecting

Re: Introducing me!!

2008-04-22 Thread Andrew Pantyukhin
On Wed, Apr 23, 2008 at 01:47:32AM +1200, Ryan French wrote: > Hi All, > > My name is Ryan French. I am a Google Summer of Code > participant this year, and for my project I will be > implementing MPLS in FreeBSD. Welcome and good luck! ___ freebsd-hack

Re: mtree acl [patch]

2008-04-10 Thread Andrew Pantyukhin
On Thu, Apr 10, 2008 at 10:04:38PM -0700, Tim Kientzle wrote: > Andrew Pantyukhin wrote: >> ... ACL support in our mtree ... >> Also here: http://heka.cenkes.org/sat/diffs/mtree_acl.diff > > Could you give an example of a short mtree file that includes ACLs? > > I s

mtree acl [patch]

2008-04-10 Thread Andrew Pantyukhin
I was surprised to learn that ACL support in our mtree is limited to a shy mention here: http://www.freebsd.org/news/status/report-dec-2001-jan-2002.html#TrustedBSD-ACLs Would something like the patch attached be feasible? I can add support for default lists, maybe restoring, etc., if the overall

Re: Regression tests for usr.sbin/zic and lib/libc/stdtime

2008-04-02 Thread Andrew Pantyukhin
On Wed, Apr 02, 2008 at 09:57:46AM -0400, Steven Kreuzer wrote: > - (void) sprintf(fullname, "%s/%s", directory, name); > + (void) snprintf(fullname, sizeof(filename), "%s/%s", directory, name); Has a typo crawled in? ___

Re: DPS Initial Ideas

2007-05-14 Thread Andrew Pantyukhin
On 5/14/07, Sean Bryant <[EMAIL PROTECTED]> wrote: I propose someone post on the wiki (http://wiki.freebsd.org/) This might be relevant: http://wiki.freebsd.org/Upak ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinf

Re: extern "C" and undefined reference

2007-04-22 Thread Andrew Pantyukhin
On 4/23/07, Diomidis Spinellis <[EMAIL PROTECTED]> wrote: You can use nm(1) on the .o files to see where the problem comes from. Thanks! Using nm(1) I saw that the object file generated from pure C code had its symbols mangled - only then did I notice that it was being compiled with c++, not cc

extern "C" and undefined reference

2007-04-22 Thread Andrew Pantyukhin
7zip developers converted some code from C++ to C, while leaving the main stand-alone lzma app in C++. They use 'extern "C" { }' blocks around #include's referencing C headers. Everything compiles fine, but "undefined reference" errors appear at linkage. The undefined references are to the C func

Re: Advice for Stripping the Kernel

2007-01-19 Thread Andrew Pantyukhin
On 1/19/07, aRevolutionist <[EMAIL PROTECTED]> wrote: I am about to almost completely strip FreeBSD's kernel. The kernel shall be stripped of sockets, drivers, memory management, and alot more. Basically, what I shall be left with is a kernel with a few system calls, only paging for memory manage

Re: Tracing binaries statically linked against vulnerable libs

2006-10-14 Thread Andrew Pantyukhin
On 10/14/06, Simon L. Nielsen <[EMAIL PROTECTED]> wrote: On 2006.10.14 08:11:56 -0400, Michael Johnson wrote: > On 10/13/06, Kris Kennaway <[EMAIL PROTECTED]> wrote: > >On Fri, Oct 13, 2006 at 05:18:57PM +0400, Andrew Pantyukhin wrote: > >> On 10/7/06, Kris Kenn

Re: Tracing binaries statically linked against vulnerable libs

2006-10-14 Thread Andrew Pantyukhin
On 10/14/06, Kris Kennaway <[EMAIL PROTECTED]> wrote: On Fri, Oct 13, 2006 at 05:18:57PM +0400, Andrew Pantyukhin wrote: > Anyway, maybe portmgr could issue some kind of a policy > about this. I.e. (1) use {build,run}_depends instead of lib_ > when you depend on a port providing

Re: Tracing binaries statically linked against vulnerable libs

2006-10-13 Thread Andrew Pantyukhin
On 10/7/06, Kris Kennaway <[EMAIL PROTECTED]> wrote: On Fri, Oct 06, 2006 at 09:35:31AM +0400, Andrew Pantyukhin wrote: > I wonder if there is a way to deal with statically linked binaries, > which use vulnerable libraries. The best way is to track them down and force them

Tracing binaries statically linked against vulnerable libs

2006-10-05 Thread Andrew Pantyukhin
I wonder if there is a way to deal with statically linked binaries, which use vulnerable libraries. There's this advisory: http://www.vuxml.org/freebsd/964161cd-6715-11da-99f6-00123ffe8333.html But mplayer and libxine are linked statically against ffmpeg, as are reportedly many other apps like g

Re: NATD & IPFW

2006-05-07 Thread Andrew Pantyukhin
On 5/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I cant seem to get something working and would really appreciate some h elp. I use IPFW and have used NAT in the past through the ipfw "divert" rules. But what i need to get right is simply nat for a particular host inter

Re: gmirror with hot spare

2006-04-30 Thread Andrew Pantyukhin
On 4/25/06, Vladimir Terziev <[EMAIL PROTECTED]> wrote: Hi hackers, is there a way to assign a hot spare disk/partition to a gmirror -ed disks/partitions ? There's no sense in it, is there? When we have RAID5 hot spare is needed, because we don't know what drive will fail fir