[ANNOUNCE] tzdialog(8) -- tzsetup(8) translated from C to sh(1)

2011-07-04 Thread Devin Teske
Hi fellow hackers, I'd like to share some work that I've been slaving over for the past 7 days. I've converted tzsetup(8) from a C program that relies on dialog(3) into an sh(1) script that relies on either dialog(1) or Xdialog(1). http://druidbsd.sourceforge.net/download/tzdialog.txt or http

Re: [PATCH] __FreeBSD_kernel__

2011-07-04 Thread Ed Maste
On Sun, Jul 03, 2011 at 12:45:12PM -0700, Julian Elischer wrote: > On 7/3/11 7:35 AM, Alexander Kabaev wrote: > >__linux__ is exactly what __FreeBSD__ is and dies not identify kernel > >but rather Linux as whole OS, whatever that might be these days. > > > >There does not appear to be an universal

Re: Jails: Setting different times in jails

2011-07-04 Thread Julian Elischer
On 7/3/11 1:16 AM, grarpamp wrote: Would be nice to be able to set different times in different jails. All jails would tick in step with the system. But each jail could have it's birthtime set specifically via jail(8), jail(2), etc. Either by specification of a specific time, or an offset from th

[PATCH] __FreeBSD_cc_version in

2011-07-04 Thread Robert Millan
This patch fixes a (harmless) warning when is parsed by upstream version of GCC. -- Robert Millan Index: sys/sys/cdefs.h === --- sys/sys/cdefs.h (revision 223736) +++ sys/sys/cdefs.h (working copy) @@ -349,7 +349,7 @@ #endi

Re: what is the RIGHT(TM) way to configure background DHCP?

2011-07-04 Thread Lowell Gilbert
"deeptec...@gmail.com" writes: > moving [ > http://lists.freebsd.org/pipermail/freebsd-questions/2011-June/231301.html > ] to the freebsd-hackers list, as there doesn't seem to be enough 1337 > people in the freebsd-questions list. :< You might want to try rewording your question, because it di

Re: what is the RIGHT(TM) way to configure background DHCP?

2011-07-04 Thread deeptec...@gmail.com
moving [ http://lists.freebsd.org/pipermail/freebsd-questions/2011-June/231301.html ] to the freebsd-hackers list, as there doesn't seem to be enough 1337 people in the freebsd-questions list. :< ___ freebsd-hackers@freebsd.org mailing list http://lists.

Re: [PATCH] __FreeBSD_kernel__

2011-07-04 Thread Mark Linimon
On Sun, Jul 03, 2011 at 05:47:02PM +0200, Robert Millan wrote: > isn't it enough if support is present in the FreeBSD > version of these compilers (for production and development releases of > FreeBSD), plus the latest release of the upstream version of each of > those compilers? You may find the

Jails: Setting different times in jails

2011-07-04 Thread grarpamp
Would be nice to be able to set different times in different jails. All jails would tick in step with the system. But each jail could have it's birthtime set specifically via jail(8), jail(2), etc. Either by specification of a specific time, or an offset from the current true system time. ie: jail

Question about lseek/fseek

2011-07-04 Thread Martin Möller
Hi Hackers, Why does these function allow seeking beyond the EOF of a file in O_RDONLY/²rb² mode ? How does these function then signal the EOF correctly ? Seeking beyond the EOF makes sense for me in write-mode but not in read-only mode ! With Regards, Martin

priv_check() question

2011-07-04 Thread exorcistkiller
Hi! I am taking a FreeBSD course this summer and I'm doing a homework. A new system call uidkill() is to be added. uidkill(uid_t uid, int signum) sends signal specified by signum to all processes owned by uid, excluding the calling process itself. I'm almost done, however I get stuck with priv_ch