login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
August
»
19
Re: [PATCH] [RFCv2] notify userspace about time changes
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Alexander Shishkin
Subject:
Re: [PATCH] [RFCv2] notify userspace about time changes
Date: Thursday, August 19, 2010 - 1:21 am
On Wed, Aug 18, 2010 at 09:09:37 -0700, Greg KH wrote:
quoted text
> On Wed, Aug 18, 2010 at 04:53:03PM -0700, Andrew Morton wrote: > > Is sysfs the right interface for this thing? Bear in mind that > > CONFIG_SYSFS does exist. > > > > > + fd = open("/sys/kernel/time_notify", O_WRONLY); > > > + fdprintf(fd, "%d 1 0 1 1", efd); > > > > why not > > > > sys_time_notify(efd, 1, 0, 1, 1); > > Yeah, that would be much better than a sysfs file, this is abusing the > sysfs interface quite a lot.
Hm, ok. I used to think that adding new syscalls was discouraged, though. Regards, -- Alex --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] [RFCv2] notify userspace about time changes
, Alexander Shishkin
, (Wed Aug 18, 6:55 am)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Greg KH
, (Wed Aug 18, 7:26 am)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Andrew Morton
, (Wed Aug 18, 3:57 pm)
Re: [PATCH] [RFCv2] notify userspace about time changes
, john stultz
, (Wed Aug 18, 4:09 pm)
Re: [PATCH] [RFCv2] notify userspace about time changes
, H. Peter Anvin
, (Wed Aug 18, 4:43 pm)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Chris Friesen
, (Wed Aug 18, 4:50 pm)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Andrew Morton
, (Wed Aug 18, 4:53 pm)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Greg KH
, (Wed Aug 18, 9:09 pm)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Andrew Morton
, (Wed Aug 18, 9:39 pm)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Alexander Shishkin
, (Thu Aug 19, 1:21 am)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Kirill A. Shutemov
, (Thu Aug 19, 1:36 am)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Kay Sievers
, (Thu Aug 19, 1:39 am)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Peter Zijlstra
, (Thu Aug 19, 2:50 am)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Kay Sievers
, (Thu Aug 19, 3:53 am)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Alexander Shishkin
, (Thu Aug 19, 4:14 am)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Greg KH
, (Thu Aug 19, 8:31 am)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Kirill A. Shutemov
, (Fri Aug 20, 1:37 am)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Greg KH
, (Fri Aug 20, 8:33 am)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Alexander Shishkin
, (Fri Aug 20, 8:38 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PATCH 5/7] Staging: Octeon Ethernet: Convert to NAPI.
Wolfgang Grandegger
[PATCH net-next v4 1/3] can: mscan: fix improper return if dlc < 8 in start_xmi...
Amit Kumar Salecha
[PATCHv3 NEXT 2/2] NET: Add Qlogic ethernet driver for CNA devices
openbsd-misc
:
Theo de Raadt
Re: Old IPSEC bug
Tomáš Bodžár
Problem with vpnc connection - check group password !
Insan Praja SW
Mandoc Compiling Error
Carl Roberso
Re: Cannot change MTU of carp interface?
Richard Daemon
Re: booting openbsd on eee without cd-rom
Colocation donated by:
Syndicate