Re: [RFC] last(1) with security.bsd.see_other_uids support

2012-06-07 Thread Ed Schouten
2012/6/5 Jilles Tjoelker jil...@stack.nl: To avoid this, the utmpx APIs could communicate with a privileged daemon if the files are not readable. The daemon can check the identity of the caller via getpeereid(3). +1. I would really like to have something like this. Another advantage of this

Re: [RFC] last(1) with security.bsd.see_other_uids support

2012-06-07 Thread Ed Schouten
2012/6/6 Pawel Jakub Dawidek p...@freebsd.org: Any privileged daemon is much bigger threat. Also, do we really want a daemon running all the time just to be able to parse utx files? Well, if you think of it, it's not a very strange idea: - You can simply get rid of /var/run/utx.active. There's

boot menu option to disable graphics mode

2012-06-07 Thread Andriy Gapon
It's long been a wish of mine to have an ability to decide at boot time that a system should boot in console-only mode. That is, that no graphics/X applications like e.g. xdm/kdm/gdm are automatically started even when they are configured to do so. Here is my attempt at implementing that:

Re: boot menu option to disable graphics mode

2012-06-07 Thread Konstantin Belousov
On Thu, Jun 07, 2012 at 10:45:26AM +0300, Andriy Gapon wrote: It's long been a wish of mine to have an ability to decide at boot time that a system should boot in console-only mode. That is, that no graphics/X applications like e.g. xdm/kdm/gdm are automatically started even when they are

Re: boot menu option to disable graphics mode

2012-06-07 Thread Andriy Gapon
on 07/06/2012 11:47 Konstantin Belousov said the following: On Thu, Jun 07, 2012 at 10:45:26AM +0300, Andriy Gapon wrote: It's long been a wish of mine to have an ability to decide at boot time that a system should boot in console-only mode. That is, that no graphics/X applications like

Re: boot menu option to disable graphics mode

2012-06-07 Thread Gleb Kurtsou
On (07/06/2012 11:56), Andriy Gapon wrote: on 07/06/2012 11:47 Konstantin Belousov said the following: On Thu, Jun 07, 2012 at 10:45:26AM +0300, Andriy Gapon wrote: It's long been a wish of mine to have an ability to decide at boot time that a system should boot in console-only mode.

Re: boot menu option to disable graphics mode

2012-06-07 Thread Andriy Gapon
on 07/06/2012 12:57 Gleb Kurtsou said the following: What do you think about adding generic support for overriding *_enable options in rc.conf? I'd like to be able to disable services at boot prompt, e.g. # set rc.slim_enable=no -- overrides slim_enable=yes in rc.conf Similarly

Re: Wide character types

2012-06-07 Thread Václav Zeman
On 6 June 2012 12:03, Andrew Turner wrote: I've been working on getting the ARM EABI working with FreeBSD. As part of the EABI spec the Procedure Call Standard for the ARM Architecture (AAPCS) defines wchar_t as either an unsigned int or an unsigned short with the former as the preferred

Re: CD bootcode

2012-06-07 Thread John Baldwin
On Wednesday, June 06, 2012 12:15:14 pm rank1see...@gmail.com wrote: FreeBSD's CD bootcode '/boot/cdboot' is targeting stage 3 boot - loader For example, stage 2 boot '/boot/boot' is attempting the same. In my case of a '/boot/loader', '/boot' is a symlink! So if '/boot/boot' works with

Re: CD bootcode

2012-06-07 Thread rank1seeker
- Original Message - From: John Baldwin j...@freebsd.org To: freebsd-hackers@freebsd.org Cc: rank1see...@gmail.com Date: Thu, 7 Jun 2012 08:21:39 -0400 Subject: Re: CD bootcode On Wednesday, June 06, 2012 12:15:14 pm rank1see...@gmail.com wrote: FreeBSD's CD bootcode '/boot/cdboot' is

Re: boot menu option to disable graphics mode

2012-06-07 Thread Doug Barton
On 06/07/2012 02:57 AM, Gleb Kurtsou wrote: What do you think about adding generic support for overriding *_enable options in rc.conf? I'd like to be able to disable services at boot prompt, e.g. # set rc.slim_enable=no -- overrides slim_enable=yes in rc.conf Similarly rc.pf_enable=no

ifconfig accepting hostname as ipv4 address

2012-06-07 Thread Alexander V. Chernikov
Hello list! Since the early days ifconfig(8) has the following functionality: .. address For the DARPA-Internet family, the address is either a host name present in the host name data base, hosts(5), or a DARPA Internet address expressed in the

Re: boot menu option to disable graphics mode

2012-06-07 Thread Garrett Cooper
On Thu, Jun 7, 2012 at 7:29 AM, Doug Barton do...@freebsd.org wrote: On 06/07/2012 02:57 AM, Gleb Kurtsou wrote: What do you think about adding generic support for overriding *_enable options in rc.conf? I'd like to be able to disable services at boot prompt, e.g. # set rc.slim_enable=no --

Re: boot menu option to disable graphics mode

2012-06-07 Thread Garrett Cooper
On Thu, Jun 7, 2012 at 2:57 AM, Gleb Kurtsou gleb.kurt...@gmail.com wrote: On (07/06/2012 11:56), Andriy Gapon wrote: on 07/06/2012 11:47 Konstantin Belousov said the following: On Thu, Jun 07, 2012 at 10:45:26AM +0300, Andriy Gapon wrote: It's long been a wish of mine to have an ability

Re: CD bootcode

2012-06-07 Thread Chris Rees
On Jun 7, 2012 2:58 PM, rank1see...@gmail.com wrote: - Original Message - From: John Baldwin j...@freebsd.org To: freebsd-hackers@freebsd.org Cc: rank1see...@gmail.com Date: Thu, 7 Jun 2012 08:21:39 -0400 Subject: Re: CD bootcode On Wednesday, June 06, 2012 12:15:14 pm

Re: boot menu option to disable graphics mode

2012-06-07 Thread Doug Barton
On 06/07/2012 08:12 AM, Garrett Cooper wrote: I've run into _multiple_ scenarios where this isn't possible because the terminal settings are screwed up in single user mode, and had to resort to `sed -i '' `. If that happens, a) report it! SUM is a very important part of FreeBSD, and it needs

Re: CD bootcode

2012-06-07 Thread John Baldwin
On Thursday, June 07, 2012 9:58:25 am rank1see...@gmail.com wrote: - Original Message - From: John Baldwin j...@freebsd.org To: freebsd-hackers@freebsd.org Cc: rank1see...@gmail.com Date: Thu, 7 Jun 2012 08:21:39 -0400 Subject: Re: CD bootcode On Wednesday, June 06, 2012 12:15:14

Re: boot menu option to disable graphics mode

2012-06-07 Thread Andriy Gapon
on 07/06/2012 17:29 Doug Barton said the following: On 06/07/2012 02:57 AM, Gleb Kurtsou wrote: What do you think about adding generic support for overriding *_enable options in rc.conf? I'd like to be able to disable services at boot prompt, e.g. # set rc.slim_enable=no -- overrides

Re: boot menu option to disable graphics mode

2012-06-07 Thread Lars Engels
On Thu, Jun 07, 2012 at 10:45:26AM +0300, Andriy Gapon wrote: It's long been a wish of mine to have an ability to decide at boot time that a system should boot in console-only mode. That is, that no graphics/X applications like e.g. xdm/kdm/gdm are automatically started even when they are

nss compat shims

2012-06-07 Thread Mel Flynn
Hi, I'm currently implementing support for more NSS databases in net/nss-pamd-ldapd and I've started to wonder why there's only the group and password support in lib/libc/net/nss_compat.c? Is there a specific reason for it or is this a classic case of patches welcome? I wasn't able to determine

disabling generic attach for hptrr

2012-06-07 Thread Eitan Adler
I was sent this patch by a user that has been having trouble with his hardware until attach_generic was disabled in loader.conf. Is there any reason to have this on by default? Would anyone object to me committing this patch? -- Eitan Adler freebsd-9.0-disable-hptrr-generic-attach.patch