lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200805191605.32484.shawn.starr@rogers.com>
Date:	Mon, 19 May 2008 16:05:31 -0400
From:	Shawn Starr <shawn.starr@...ers.com>
To:	Alexey Dobriyan <adobriyan@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Modern 2.6 kernels - Notification for changing hostname from proc/sys/kernel/hostname ?

On Monday 19 May 2008 04:45:35 pm Alexey Dobriyan wrote:
> On Mon, May 19, 2008 at 01:16:12PM -0400, Shawn Starr wrote:
> > I was looking at utsname_sysctl.c (if this is the right place) and
> > noticed there doesn't seem to be any notification via the connector bus
> > to tell userspace the hostname has changed? Is this correct?
>
> Yes. No notifications.
>
> > if so, would not not make sense to add such event triggers so that things
> > like KDE would not have to poll to determine if the hostname changes and
> > instead had D-BUS tell userspace the hostname changed?
>
> Why does it want to know if and when hostname changes?
>
Well, It's for keeping track of the X session, if the hostname changes things 
go bad.

> > Perhaps this could be applied to other values (where applicable)
> > in /proc/sys/kernel?
>
> Probably, what other stuff desktop crowd wants?

No idea on the other values, but maybe others can jump in on this discussion?

>
> > Or is this all going to go into sysfs eventually (where some of this
> > really might belong)
>
> Hopefully, not. There is already uname(2), sysctls -- proc and binary,

Hopefully this can all be cleaned up, we really should have one unified place 
for kernel tweaking/settings either /proc or /sys.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ