Re: /dev/klog is empty

2010-04-16 Thread Jose Luis Alarcon Sanchez
On Fri, Apr 16, 2010 at 10:39:46PM +0200, Samuel Thibault wrote: > Jose Luis Alarcon Sanchez, le Fri 16 Apr 2010 20:40:42 +, a ?crit : > > i got a text file with the messages shown at boot time. This days i get an > > empty file. > > > > What's changed?. Is a bug or a feature?. > > Do you hav

Re: /dev/klog is empty

2010-04-16 Thread Samuel Thibault
Jose Luis Alarcon Sanchez, le Fri 16 Apr 2010 20:40:42 +, a écrit : > i got a text file with the messages shown at boot time. This days i get an > empty file. > > What's changed?. Is a bug or a feature?. Do you have syslog installed? In that case it already logs it into /var/log/kern.log. Sa

/dev/klog is empty

2010-04-16 Thread Jose Luis Alarcon Sanchez
Hi. In the pass, when i did # cat /dev/klog > boot.txt i got a text file with the messages shown at boot time. This days i get an empty file. What's changed?. Is a bug or a feature?. Thank you, very much. You're very kind. Regards. Jose. -- Not Registered GNU/Hurd User. Registered BSD User

Re: The Hurdish Package Manager

2010-04-16 Thread olafBuddenhagen
Hi, On Mon, Apr 12, 2010 at 10:44:38PM +0200, Patrik Olsson wrote: > On Sat, 2010-04-10 at 12:16 +0200, olafbuddenha...@gmx.net wrote: > > Yeah, that's why the project description mentions Hurdextras -- > > there are some translators there that really need some love... [...] > Is there a Git repo

Re: uid_t vs. gid_t

2010-04-16 Thread olafBuddenhagen
Hi, On Mon, Apr 12, 2010 at 09:11:52PM +0200, Patrik Olsson wrote: > On Sat, 2010-04-10 at 12:09 +0200, olafbuddenha...@gmx.net wrote: > > On Fri, Apr 09, 2010 at 11:42:25AM +0200, Patrik Olsson wrote: > > > I have found one thing that seems incorrect in > > > hurd.git/hurd/password.defs. See the

Re: Many questions about translators

2010-04-16 Thread Samuel Thibault
Carl Fredrik Hammar, le Fri 16 Apr 2010 15:07:22 +0200, a écrit : > On Fri, Apr 16, 2010 at 01:59:16PM +0200, Samuel Thibault wrote: > > Carl Fredrik Hammar, le Fri 16 Apr 2010 11:52:04 +0200, a écrit : > > > > 2. If yes on question 1, would this be insecure? For example, if > > > > th

[bug #28934] execve(path, args) should take path as a a relative path if it doesn't contain slashes

2010-04-16 Thread Samuel Thibault
Follow-up Comment #13, bug #28934 (project hurd): Note that _hurd_exec() is exposed publicly by the glibc, used by ./utils/rpctrace.c: err = _hurd_exec (traced_task, file, argv, envp); for instance, so we can't arbitrarily add parameters.

Re: Many questions about translators

2010-04-16 Thread Carl Fredrik Hammar
On Fri, Apr 16, 2010 at 01:59:16PM +0200, Samuel Thibault wrote: > Carl Fredrik Hammar, le Fri 16 Apr 2010 11:52:04 +0200, a écrit : > > > 2. If yes on question 1, would this be insecure? For example, if > > > the user overrides a library used by a setuid program? (Then > > > a

[bug #28934] execve(path, args) should take path as a a relative path if it doesn't contain slashes

2010-04-16 Thread Carl Fredrik Hammar
Follow-up Comment #12, bug #28934 (project hurd): The patch looks good, but I have a couple of suggestions. In __execve you cannot just call _hurd_exec_file_name unconditionally since all exec() variants end up as a __execve(). For instance, if there is both `/bin/foo' and `./foo', execpv("foo"

Re: Many questions about translators

2010-04-16 Thread Samuel Thibault
Carl Fredrik Hammar, le Fri 16 Apr 2010 11:52:04 +0200, a écrit : > > 2. If yes on question 1, would this be insecure? For example, if > > the user overrides a library used by a setuid program? (Then > > again, if the program is running as e.g. root by setuid, it > > wo

Re: Replacing init_alloc_aligned with a bitmapped allocator

2010-04-16 Thread Samuel Thibault
Karim Allah Ahmed, le Fri 16 Apr 2010 09:57:24 +0200, a écrit : > On 4/15/10, Samuel Thibault wrote: > >> - assert(init_alloc_aligned(round_page(len), &addr)); > >> + assert(init_alloc_aligned(kernel_cmdline_len, &addr)); > > > > This is not the same: init_alloc_aligned used to r

Re: Many questions about translators

2010-04-16 Thread Carl Fredrik Hammar
Hello, On Thu, Apr 15, 2010 at 10:47:49PM +0200, Patrik Olsson wrote: > To design HPM (Hurd Package Manager) I need answers to the following > questions (at least to begin with): > > 1. Is it possible for an unprivileged user to override the > translator of a node with another transl

Re: Replacing init_alloc_aligned with a bitmapped allocator

2010-04-16 Thread Karim Allah Ahmed
On 4/15/10, Samuel Thibault wrote: >> -assert(init_alloc_aligned(round_page(len), &addr)); >> +assert(init_alloc_aligned(kernel_cmdline_len, &addr)); > > This is not the same: init_alloc_aligned used to required size aligned > on the page size. > i don't understand this one