1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 15:21:37 +03:00
Commit Graph

365 Commits

Author SHA1 Message Date
Greg KH
281c368b8f 060 release 2005-07-02 23:55:08 -07:00
Gustavo Zacarias
3cf745e128 [PATCH] Udev doesn't properly build with $CROSS
Patch attached - basically you're always invoking klcc for the udev
build itself, but klibc builds $(CROSS)klcc.
Thus static cross builds don't work.
2005-07-01 12:45:06 -07:00
Greg Kroah-Hartman
4d8c16072a 059 release 2005-06-30 16:27:52 -07:00
Kay Sievers
6bf0ffe8fd allow rules to be compiled to one binary file
All the rule files can be compiled into a single file,
which can be mapped into the udev process to avoid parsing
the rules with every event.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-24 18:05:32 +02:00
Kay Sievers
e33d1515e2 Makefile: remove dev.d/ hotplug.d/ from install target
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-16 03:26:16 +02:00
Kay Sievers
8ab44e3fd0 udevd: control log-priority of the running daemon with udevcontrol
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-16 01:58:47 +02:00
Kay Sievers
3632a36858 udeveventrecorder: add small program that writes an event to disk
Used for debugging and event replay from initramfs.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-15 03:07:14 +02:00
Kay Sievers
c07669bd66 udev: handle all events - not only class and block devices
Handle all events with rules. If udev is expected to handle hotplug.d/
the exernal helper must be called.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05 15:55:29 +02:00
Kay Sievers
1682c8c4a3 Makefile: fix DESTDIR
Patch from: Vassilis Virvilis <vasvir@iit.demokritos.gr>

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05 04:48:09 +02:00
Kay Sievers
0590abd720 udevd: add initsend
Transfer stored events from initramfs to the running udevd to replay
events after userspace is ready.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05 04:44:07 +02:00
Kay Sievers
3b47c7394d udevd: add udevcontrol
Controls the behavior of the running daemon. Currently only stopping and starting
of the execution queue is supported.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05 04:41:09 +02:00
Greg KH
5e65ab9a19 Fix makefile to allow 'make release' to work with git 2005-05-20 13:22:05 -07:00
Greg KH
db60d377b0 058 release 2005-05-20 13:18:28 -07:00
gregkh@suse.de
9530f1fe19 [PATCH] 057 relelease 2005-04-26 23:55:01 -07:00
kay.sievers@vrfy.org
05bd6efb41 [PATCH] add test for make -j4 to build-check 2005-04-26 23:55:01 -07:00
kay.sievers@vrfy.org
87b60f72b7 [PATCH] fix make -j4 and the local klibc-install 2005-04-26 23:55:00 -07:00
kay.sievers@vrfy.org
821d0ec803 [PATCH] add RUN key to be able to run rule based notification
SUBSYSTEM=="block", RUN="/sbin/program"
  will execute the program only for block device events.

ACTION="remove", SUBSYSTEM=="block", RUN"/sbin/program"
  will execute the program, if a block device is removed.
2005-04-26 23:55:00 -07:00
kay.sievers@vrfy.org
6b493a20e1 [PATCH] support log-priority levels in udev.conf 2005-04-26 23:54:59 -07:00
gregkh@suse.de
69b5c2ca51 [PATCH] 056 release 2005-04-26 23:54:59 -07:00
kay.sievers@vrfy.org
21c0367349 [PATCH] klibc: remove SCCS directories from the temporary klibc install 2005-04-26 23:54:59 -07:00
kay.sievers@vrfy.org
92ebb398ed [PATCH] klibc: use klcc wrapper instead of our own Makefile 2005-04-26 23:53:53 -07:00
gregkh@suse.de
2861655484 [PATCH] 055 release 2005-04-26 23:53:53 -07:00
kay.sievers@vrfy.org
e5e322bc62 [PATCH] rename namedev_dev to udev_rule 2005-04-26 23:53:17 -07:00
kay.sievers@vrfy.org
319112e295 [PATCH] remove udevstart on make clean 2005-04-26 23:53:17 -07:00
kay.sievers@vrfy.org
56a8a624ee [PATCH] split udev and udevstart 2005-04-26 23:51:00 -07:00
kay.sievers@vrfy.org
6c18b1fb87 [PATCH] rename LOG to USE_LOG in all places 2005-04-26 23:48:48 -07:00
kay.sievers@vrfy.org
57e1a2770c [PATCH] remove Makefile magic for klibc integration
The new libsysfs and klibc don't need that anymore.
Wrap getpwnam(), so we can use the built-in /etc/passwd
parser for statically compiled glibc binaries too.
2005-04-26 23:48:48 -07:00
kay.sievers@vrfy.org
5f335ca4af [PATCH] klibc_fixups: remove no longer needed stuff 2005-04-26 23:48:48 -07:00
kay.sievers@vrfy.org
9bad6028f7 [PATCH] fix up segfaulting binaries with new klibc 2005-04-26 23:48:48 -07:00
kay.sievers@vrfy.org
733677e2c2 [PATCH] klibc_fixups: remove unneeded stuff 2005-04-26 23:48:48 -07:00
gregkh@suse.de
6d7a6d08c2 [PATCH] 054 release 2005-04-26 23:39:48 -07:00
kay.sievers@vrfy.org
f385ff6512 [PATCH] big libsysfs diet (pre 2.0 version) 2005-04-26 23:36:13 -07:00
gregkh@suse.de
5d2d1e7e85 [PATCH] 053 release 2005-04-26 23:35:15 -07:00
gregkh@suse.de
6b3df4310f [PATCH] make the release tarballs have writable files in them. 2005-04-26 23:35:15 -07:00
greg@kroah.com
1d62f6e2de [PATCH] 052 release 2005-04-26 23:28:12 -07:00
kay.sievers@vrfy.org
51df9ee496 [PATCH] Makefile: add some more warnings and prepare for clean gcc4 compile 2005-04-26 23:24:19 -07:00
kay.sievers@vrfy.org
045b1f0f7a [PATCH] Makefile: cleanup conditional config option sections 2005-04-26 23:24:19 -07:00
kay.sievers@vrfy.org
fbda4a34d8 [PATCH] selinux: cleanup udev integration
Move code into a .c-file instead of big inline functions in a header file.
Pass the device name down instead of relying that the node name is equal
to the kernel name.
2005-04-26 23:24:19 -07:00
greg@kroah.com
9badc83e4f [PATCH] 051 release 2005-04-26 23:24:19 -07:00
hare@suse.de
94f88ba5ee [PATCH] rearrange link order in Makefile
The link-order in the main Makefile is not quite correct (sysfs should
be linked after udev.a) which might cause the build to fail.
2005-04-26 23:21:58 -07:00
kay.sievers@vrfy.org
8b36cc0f17 [PATCH] complete removal of explicit udev permissions config file 2005-04-26 23:17:47 -07:00
greg@kroah.com
35413b2b88 [PATCH] 050 release 2005-04-26 23:17:47 -07:00
kay.sievers@vrfy.org
0d9057a1ce [PATCH] avoid building klibc test programs and pass SUBDIRS= to klibc clean 2005-04-26 23:13:48 -07:00
greg@kroah.com
e3686a8858 [PATCH] 049 release 2005-04-26 23:13:48 -07:00
greg@kroah.com
7d92b28f39 [PATCH] 048 release 2005-04-26 23:13:47 -07:00
greg@kroah.com
09f2756071 [PATCH] fix scsi_id build errors due to changes in the main udev makefile
also fixed up the QUIET issue when it was disabled for the extras programs
2005-04-26 23:13:47 -07:00
greg@kroah.com
6fbecf3547 [PATCH] 047 release 2005-04-26 23:13:47 -07:00
greg@kroah.com
3efc93cc40 [PATCH] Fix the multithreaded build again... 2005-04-26 23:06:10 -07:00
kay.sievers@vrfy.org
c64081980e [PATCH] don't install distribution specific init script on "make install"
Leave that part up to the one who itegrates udev into a system as
there is much more to care of than to call a init stript for a
dynamic dev.
2005-04-26 23:06:10 -07:00
kay.sievers@vrfy.org
9aa0485c97 [PATCH] remove archive file if we changed something 2005-04-26 22:44:26 -07:00
kay.sievers@vrfy.org
7c2aae11ff [PATCH] link archive insted of objects
This cuts the size of the binaries, as only objects that
are actually used are linked into the binary:

 45592 -> 43608 udev
  4380 ->  4380 udevsend
 10380 ->  4652 udevd
 34732 -> 33100 udevinfo
 45432 -> 37208 udevtest
2005-04-26 22:44:08 -07:00
kay.sievers@vrfy.org
9af5bb2f8f [PATCH] rename udev_lib to udev_utils and dev_d to udev_multiplex 2005-04-26 22:44:02 -07:00
kay.sievers@vrfy.org
c449b25e3f [PATCH] integrate wait_for_sysfs in udev
Move the wait_for_sysfs logic into the udev binary. udev is called for
every hotplug event. It also waits for /devices events.
2005-04-26 22:37:37 -07:00
greg@kroah.com
ff5761c972 [PATCH] fix parallel build error 2005-04-26 22:30:28 -07:00
greg@kroah.com
162c0ee8b9 [PATCH] 046 release 2005-04-26 22:30:28 -07:00
kay.sievers@vrfy.org
7225821d63 [PATCH] disable logging for udevstart
The slow logging facilites on some systems are a reason for
the reported slowness of udevstart. On one of my boxes udevstart
is down from 9 second to 0.3 seconds.
2005-04-26 22:27:34 -07:00
kay.sievers@vrfy.org
02fa9ae589 [PATCH] rename udevdb* to udev_db* 2005-04-26 22:25:14 -07:00
kay.sievers@vrfy.org
13f24d596c [PATCH] remove udev_lib dependency from udevsend, which makes it smaller 2005-04-26 22:24:30 -07:00
greg@kroah.com
04b49aab9a [PATCH] make spotless for releases. 2005-04-26 22:18:23 -07:00
kay.sievers@vrfy.org
2b41e68a08 [PATCH] replace tdb database by simple lockless file database
This makes the udev operation completely lockless by storing a
file for every node in /dev/.udevdb/* This solved the problem
with deadlocking concurrent udev processes waiting for each other
to release the file lock under heavy load.
2005-04-26 22:16:40 -07:00
greg@kroah.com
482b0ecd8f [PATCH] 045 release 2005-04-26 22:12:45 -07:00
greg@kroah.com
0bac7bab72 [PATCH] 044 release 2005-04-26 22:12:34 -07:00
greg@kroah.com
5ca6ff6457 [PATCH] 043 release 2005-04-26 22:12:10 -07:00
greg@kroah.com
e9f653894e [PATCH] remove 'sudo' usage from the Makefile
should fix a lot of gentoo bug reports
2005-04-26 22:09:26 -07:00
greg@kroah.com
bd842ba41a [PATCH] add test target to makefile
Will help distros that have a test phase of their build.
2005-04-26 22:08:27 -07:00
greg@kroah.com
1a04bce13a [PATCH] 042 release
In the grand tradition of releasing free software projects on my birthday
for the past few years.

And yes, I skipped version 041, call it grumpyness in my old age...
2005-04-26 22:08:27 -07:00
kay.sievers@vrfy.org
993a633ab8 [PATCH] update to libsysfs 1.2.0 and add some stuff klib_fixup 2005-04-26 22:06:44 -07:00
kay.sievers@vrfy.org
f8c1ccde6a [PATCH] improve klibc fixup integration 2005-04-26 22:06:44 -07:00
kay.sievers@vrfy.org
f071348004 [PATCH] expose sysfs functions for sharing it
This patch exposes the wait_for_sysfs functions to all possible users,
so we need to maintain only one list of exceptions. The last list is
hereby removed from udev.c.
2005-04-26 22:06:44 -07:00
greg@kroah.com
796ed8851b [PATCH] 040 release 2005-04-26 22:06:44 -07:00
greg@kroah.com
4a33024799 [PATCH] 039 release 2005-04-26 22:02:45 -07:00
greg@kroah.com
396bb4c3d3 [PATCH] let the extras/ programs build "pretty" also 2005-04-26 22:02:45 -07:00
patmans@us.ibm.com
125930b454 [PATCH] pass SYSFS setting down for extras builds
Modify SYSFS to specify the full path, and pass it down for the extras
builds.

Change the scsi_id Makefile so it will work with and without udev.
2005-04-26 22:02:45 -07:00
greg@kroah.com
31a6e02871 [PATCH] crap, I messed up the 'sed' instances pretty badly, this fixes the config and man page mess. 2005-04-26 22:02:44 -07:00
kay.sievers@vrfy.org
32935a50ea [PATCH] delete udevruler?
Hey, we got consistent source filenames today. Let's go ahead :)

I once started this ambitiuos curses gui to edit udev rules files.
udevruler still lays dead around in the tree. I will not finish it
and it is not really useful at his state. If nobody wants to do
something for it, I'm for deleting it.
2005-04-26 22:02:44 -07:00
greg@kroah.com
053083431f [PATCH] fix broken 'make -j5' functionality. 2005-04-26 22:02:44 -07:00
kay.sievers@vrfy.org
218f11bcf1 [PATCH] Makefile fix
Remove the rest of the debian stuff too, to make install working again.
2005-04-26 22:02:44 -07:00
greg@kroah.com
817c223af3 [PATCH] 038 release 2005-04-26 22:02:44 -07:00
greg@kroah.com
c008fe93f5 [PATCH] fix up error in building extras and libsysfs 2005-04-26 21:58:15 -07:00
greg@kroah.com
e457f010b1 [PATCH] 037 release 2005-04-26 21:58:15 -07:00
mbuesch@freenet.de
e5a5b54ab6 [PATCH] fix asmlinkage
This patch fixes the reintroduced bug with the
sig_handler(), if we link against a -mregparm=3 compiled
klibc on i386.
It also fixes some compiler warnings about redefined
asmlinkage on some systems.
Also some (broken?) compilers on distros throw out warnings
if asmlinkage is before "static void". This fixes it, too.
2005-04-26 21:55:39 -07:00
greg@kroah.com
c36f0ac34f [PATCH] a few more Makefile tweaks for the quiet feature. 2005-04-26 21:47:44 -07:00
greg@kroah.com
c04a16479f [PATCH] Make the build silent, thanks to a helper program from ncftp 2005-04-26 21:47:44 -07:00
greg@kroah.com
c850706e84 [PATCH] rename files to have '_' instead of '-' in them.
We should be consistent in our madness...
2005-04-26 21:47:44 -07:00
greg@kroah.com
a5e425369c [PATCH] fix up Makefile for wait_for_sysfs udev_version.h dependancy 2005-04-26 21:47:44 -07:00
greg@kroah.com
b808414477 [PATCH] 036 release 2005-04-26 21:37:04 -07:00
greg@kroah.com
858e0e81d0 [PATCH] 035 release 2005-04-26 21:37:04 -07:00
greg@kroah.com
d1f382f026 [PATCH] 034 release 2005-04-26 21:37:04 -07:00
greg@kroah.com
bab16df879 [PATCH] 33_bk mark for the makefile 2005-04-26 21:37:04 -07:00
greg@kroah.com
5cb8eb82e0 [PATCH] 033 release 2005-04-26 21:37:03 -07:00
kay.sievers@vrfy.org
e629ca3f49 [PATCH] wait_for_sysfs debug cleanup
> Sorry, I left my debug code in.

Oops, just realized it now. You've applied a older version and not the
latest. Here is a new patch to catch up.
2005-04-26 21:37:03 -07:00
greg@kroah.com
12901d995f [PATCH] enable native tdb spinlocks on i386 platforms.
also clean out some stuff in the makefile that was never getting used.
2005-04-26 21:37:03 -07:00
harald@redhat.com
9825617b07 [PATCH] PATCH selinux for udev
Daniel Walsh's working selinux patch
2005-04-26 21:37:02 -07:00
kpfleming@backtobasicsmgmt.com
b889880073 [PATCH] respect prefix= setting in built udev.conf (updated)
Here is a revised version of the patch. Again, it modifies the Makefile
to respect the prefix= setting when putting paths to
/etc/udev/{rules.s,permissions.d} into the built /etc/udev/udev.conf
file. It also changes the Makefile to create this file at "make" time,
not "make install" time. This allows for udevdir to be specified at
"make" time (thus putting the correct path into udev.conf), but not
specified at "make install" time (thus allowing the installation to
proceed without trying to use the wrong directory).

 Submitted By: Kevin P. Fleming <kpfleming@linuxfromscratch.org>
 Date: 2004-09-16
 Initial Package Version: 032
 Origin: David Jensen
 Description: correct udev's Makefile and template config file
 to respect the "prefix=" setting supplied when it is built; also
 build etc/udev/udev.conf at "make" time, not "make install" time
2005-04-26 21:37:02 -07:00
kay.sievers@vrfy.org
a8b5267a62 [PATCH] finally solve the bad sysfs-timing for all of us
On Tue, Sep 21, 2004 at 07:17:34PM +0200, Kay Sievers wrote:
> During the integration of HAL into the linux hotplug system, we dicover
> every week a new signaling path that fails cause of the delayed
> population of the sysfs files, which are connected by symlinks and
> appear in something like a random order in userspace.
>
> It's pretty complicated to understand the connection between all these
> files for all the different subsystems with all the exceptions, so most
> of the users simply sleep a few seconds, but that is not acceptable for
> our integration work.
>
> Here I try to get all the special knowledge about that behavior together
> and place that in a simple binary. That program _must_ run first of all
> other hotplug processsing and every later script, udev or HAL all can get
> rid of the wild guesses about the right time sysfs is ready.
>
> It will not only wait for the "dev"-file events we handle with udev, also
> for every /device-device with the corresponding bus link.
>
> It is provided as a patch against the current udev tree and a "install" will
> place the new program in the hotplug.d directory:
>
>   [kay@pim ~]$ tree /etc/hotplug.d/
>   /etc/hotplug.d/
>   `-- default
>       |-- 00-wait_for_sysfs.hotplug -> /sbin/wait_for_sysfs
>       |-- 10-udev.hotplug -> /sbin/udevsend
>       |-- 20-hal.hotplug -> /usr/libexec/hal.hotplug
>       |-- default.hotplug
>       `-- log.hotplug
>
>
> For now, it logs the result of the waiting to syslog, to catch any
> device, that needs special treatment. All newly discovered delay problems,
> device black/whitelist updates should go into that program and we may remove
> that kind of specialisation from all the other hotplug programs.
>
> Any patches, reports, testing is more than welcome.
>
> Sample debug:
>   Sep 21 18:44:07 localhost kernel: usb 3-2: new full speed USB device using address 12
>   Sep 21 18:44:07 localhost kernel: hub 3-2:1.0: USB hub found
>   Sep 21 18:44:07 localhost kernel: hub 3-2:1.0: 2 ports detected
>   Sep 21 18:44:07 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/devices/pci0000:00/0000:00:1d.1/usb3/3-2'
>   Sep 21 18:44:07 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0'
>   Sep 21 18:44:08 localhost kernel: usb 3-2.1: new full speed USB device using address 13
>   Sep 21 18:44:08 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/class/usb/lp0'
>   Sep 21 18:44:08 localhost kernel: drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 13 if 0 alt 1 proto 2 vid 0x067B pid 0x2305
>   Sep 21 18:44:08 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2.1/3-2.1:1.0'
>   Sep 21 18:44:08 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2.1'
>   Sep 21 18:44:08 localhost udev: configured rule in '/etc/udev/rules.d/50-udev.rules' at line 29 applied, 'lp0' becomes 'usb/%k'
>   Sep 21 18:44:08 localhost udev: creating device node '/udev/usb/lp0'
>   Sep 21 18:44:09 localhost kernel: usb 3-2.2: new full speed USB device using address 14
>   Sep 21 18:44:09 localhost kernel: pl2303 3-2.2:1.0: PL-2303 converter detected
>   Sep 21 18:44:09 localhost kernel: usb 3-2.2: PL-2303 converter now attached to ttyUSB0
>   Sep 21 18:44:09 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2.2'
>   Sep 21 18:44:09 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2.2/3-2.2:1.0'
>   Sep 21 18:44:09 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2.2/3-2.2:1.0/ttyUSB0'
>   Sep 21 18:44:09 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/class/tty/ttyUSB0'
>   Sep 21 18:44:09 localhost udev: creating device node '/udev/ttyUSB0'

New version with more devices excluded from /device-link saerch and
a better maching for device names.
2005-04-26 21:37:02 -07:00
greg@kroah.com
e7c4f85f8a [PATCH] fix up Makefiles to get the klibc build working properly.
Based on a patch from Kay Sievers <kay.sievers@vrfy.org>
2005-04-26 21:37:02 -07:00
greg@kroah.com
cb5203fb48 [PATCH] 032 release 2005-04-26 21:37:00 -07:00
greg@kroah.com
10014f7c9d [PATCH] 031 release 2005-04-26 21:37:00 -07:00
olh@suse.de
bdde56de39 [PATCH] udevsend depends on udev_lib.o
make -j  doesnt work with current udev.
2005-04-26 21:37:00 -07:00
kay.sievers@vrfy.org
cb7c281b8d [PATCH] let /sbin/hotplug execute udev earlier
We ran into problems with all the /etc/hotplug.d/ scripts that sleep for
the sysfs files or for other reasons. Anyway, it takes much too much time
before udev is executed.
HAL has its own notifier in /etc/hotplug.d/ and also waits for the
dev.d/events with the same SEQNUM. Sometimes it take 25 seconds between
these two events, cause the other scripts are sleeping too much :)

Attached is a patch that installs the udevsend symlink as
10-udev.hotplug instead of udev.hotplug, to be executed earlier.

[kay@pim udev.kay]$ tree /etc/hotplug.d/
/etc/hotplug.d/
`-- default
    |-- 10-udev.hotplug -> /sbin/udevsend
    |-- 20-hal.hotplug -> /usr/libexec/hal.hotplug
    `-- default.hotplug
2005-04-26 21:37:00 -07:00
trini@kernel.crashing.org
eb6c7cd036 [PATCH] Make udev/udevstart be one binary
Hi,

The following patch makes udev/udevstart be a common binary.  First,
doing this grows udev by a total of 1.8kB (ppc32, stripped) whereas
udevstart by itself is 6.4kB.  I know you mentioned being able to
replace udevstart with a script, but at 1.8kB I don't think it'll be
easy to beat this with size there.  Next, the following are by-eye
timings of before, after, and with devfs on a slow, but still usable
embedded platform (config stripped down to more-or-less bare for
ramdisk):
-- Embedded Planet RPX LITE, 64Mhz MPC 823e --
devfs         : 15.333s, 15.253s, 14.988s (15.191s avg)
udev-pristine : 18.675s, 18.079s, 18.418s (18.390s avg)
udev-multi    : 14.587s, 14.747s, 14.868s (14.734s avg)

The patch ends up being rather large to add this, as in doing so I ended
up making all refs (that I hit..) to devpath/subsystem be marked as
'const'.


Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
2005-04-26 21:36:59 -07:00
trini@kernel.crashing.org
807755776d [PATCH] Add 'asmlinkage' to udev-030
The following patch adds 'asmlinkage' defines to udev, to kill off 2
warnings on !i386.

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
2005-04-26 21:36:59 -07:00
greg@kroah.com
16ddbbe10a [PATCH] 030 release 2005-04-26 21:36:59 -07:00
greg@kroah.com
bf21ea08b3 [PATCH] 029 release 2005-04-26 21:36:59 -07:00
greg@kroah.com
099602aaad [PATCH] 028 release 2005-04-26 21:36:21 -07:00
greg@kroah.com
8108813b5f [PATCH] 027 release 2005-04-26 21:36:21 -07:00
greg@kroah.com
e3496f5932 [PATCH] 026 release 2005-04-26 21:35:47 -07:00
greg@kroah.com
9e86e12e10 [PATCH] 025_bk mark
because kernel.org is down, no release just yet...
2005-04-26 21:35:47 -07:00
kay.sievers@vrfy.org
aef6bb132e [PATCH] udev default config layout changes
Here we catch up, after the default config changes.

o the man page is updated to reflect the new default config

o /etc/udev/rules.d/ + permissions.d/ dirs are created now

o udev.rules is installed in /etc/udev/rules.d/50-udev.rules
  so the user can easily order the files by prepending a number.
  (RedHat has the same name in the last rpm.)

o defined directory names in the Makefile are all without slashes now,
  not the first half with and the remaining without.

o all binaries are uninstalled now

o leading slashes in config values are now removed or prepended while the
  config is parsed, so we are more robust if the usere changes something.

o replaced the macros from udev_config.c with real code, cause we can
  skip if the value matches and not useless iterate over the remaining
  fields.

o config parsing errors are logged with info() now, fixes the bug where
  we report a error with debug_parse(), even when there isn't one
2005-04-26 21:35:17 -07:00
greg@kroah.com
da361dd7df [PATCH] v025 release 2005-04-26 21:35:17 -07:00
greg@kroah.com
1352a36fbe [PATCH] Fix build process for users who have LC_ALL set to a non-english language.
Many thanks to jack_mort <mort_jack@yahoo.fr> for helping track this down.
2005-04-26 21:35:15 -07:00
greg@kroah.com
1321258af5 [PATCH] v024 release 2005-04-26 21:35:15 -07:00
greg@kroah.com
08b5da6a03 [PATCH] only generate udev.8 on the fly, not all other man pages. 2005-04-26 21:35:14 -07:00
greg@kroah.com
487c1b35ba [PATCH] switch to generate the man pages during the normal build, not during the install. 2005-04-26 21:35:14 -07:00
greg@kroah.com
438ac360e8 [PATCH] first step of making man pages dynamically generated.
Based on a an original patch from Olaf Hering <olh@suse.de>
2005-04-26 21:35:14 -07:00
greg@kroah.com
42e4b6819f [PATCH] add install and uninstall the etc/dev.d/net/hotplug.dev file to the Makefile 2005-04-26 21:35:14 -07:00
kay.sievers@vrfy.org
e5a2989efb [PATCH] udevd race conditions and performance, assorted cleanups - take 2
here is a patch on top of your nice improvements.
I fixed the whitespace and it hopefully fixes the stupid timestamp bug in
udevd. Some stupid OS sets the hwclock to localtime and linux changes it
to UTC while starting. If any events are pending they may be delayed by
the users time distance from UTC :) So we use the uptime seconds now.
2005-04-26 21:35:13 -07:00
greg@kroah.com
6d472fe777 [PATCH] 023_bk mark 2005-04-26 21:35:12 -07:00
greg@kroah.com
04b902d5bf [PATCH] v023 release 2005-04-26 21:35:12 -07:00
greg@kroah.com
df73b398de [PATCH] create the /etc/dev.d/ directories in 'make install' 2005-04-26 21:35:12 -07:00
greg@kroah.com
7e2fb86463 [PATCH] remove selinux stuff from the main Makefile 2005-04-26 21:35:11 -07:00
greg@kroah.com
8860693949 [PATCH] remove dbus stuff from main Makefile
Not needed now that it's in extras.
2005-04-26 21:35:11 -07:00
greg@kroah.com
ddc8f83132 [PATCH] remove udev_dbus.h from Makefile 2005-04-26 21:35:11 -07:00
greg@kroah.com
dd64e26b0c [PATCH] add /etc/dev.d/ support for udev add and remove events. 2005-04-26 21:35:11 -07:00
greg@kroah.com
fdcfcec707 [PATCH] 022_bk tag 2005-04-26 21:35:10 -07:00
greg@kroah.com
93e6b62cbd [PATCH] fix 'make spotless' to really do that in klibc.
bah, this took me forever to figure out why I couldn't build with klibc on
on box...
2005-04-26 21:35:10 -07:00
kay.sievers@vrfy.org
b608ade8e4 [PATCH] first stupid try for a rule compose gui
On Mon, Mar 15, 2004 at 09:28:17PM +0100, Kay Sievers wrote:
> Here is a first simple and pretty stupid try to make a simple tool for
> composing of a udev rule.
>
> It reads the udevdb to get all currently handled devices and presents a
> list, where you can choose the device to compose the rule for.
>
> The composed rule is just printed out in a window, nothing else by now.
>
> Do we want something like this?
> Nevermind, I always wanted to know, how this newt thing works :)

Here is the next step, I still can't sleep and there are to many patches
pending to make something useful :)
Cause nobody wanted to play with me, I've made a screenshot.
The device list is sorted in alphabetical order now and if there are only
a few recently discovered devices, they are placed on top of the list.

For those who want to have a look:

  http://vrfy.org/projects/udev/udevruler.png

The patch applies on top of today's mmap() patch. The db format is
changed to have the file and line number of the applied rule. So it
should be easy to edit the matching rule with this beast. It compiles
with "make all udevruler".
2005-04-26 21:35:10 -07:00
kay.sievers@vrfy.org
c81b35c08b [PATCH] replace fgets() with mmap() and introduce udev_lib.[hc]
Here we replace the various fgets() with a mmap() call for the config
file reading, due to the reported performance problems with klibc.

Thanks to Patrick's testing, it makes a very small, close to nothing
speed gain for libc users, but a 6 times speed increase for klibc users
with a 1000 line config file.

I've created a udev_lib.[hc] for this and also moved all the generic
stuff from udev.h in there and uninlined the functions.
2005-04-26 21:35:10 -07:00
kay.sievers@vrfy.org
8a0acf85f2 [PATCH] make udevtest a real program :)
Here are the missing pieces for udevtest. A simple man page is added,
the blacklist is removed, cause it can't work without having a subsystem.
The Makefile removes all manpages now with a uninstall and installs
udevtest in /usr/bin/.
Any old version from /sbin/ should be deleted by hand.

The only expected argument is the sysfs devpath, here I changed it to be
more tolerant to the input. The path may now be specified with or
without a leading slash and optionally with the /sys moutpoint prepended.

I hope this will end the confusion about the use of this program :)
2005-04-26 21:35:10 -07:00
greg@kroah.com
b99c85e440 [PATCH] 022 release 2005-04-26 21:35:10 -07:00
olh@suse.de
2761f9b951 [PATCH] make spotless
klibc has a target make spotless, this patch makes it possible to clean
the whole udev tree and start from scratch.
2005-04-26 21:35:10 -07:00
olh@suse.de
60ea694525 [PATCH] udev* segfaults with new klibc
current klibc uses regparm on i386. This leads to nice segfaults in all
udev apps. Using the content of the just included MCONFIG file fixes it.
2005-04-26 21:35:09 -07:00
greg@kroah.com
e4f9c4a46d [PATCH] 021_bk mark 2005-04-26 21:35:08 -07:00
greg@kroah.com
88ed4bbe56 [PATCH] 021 release 2005-04-26 21:35:08 -07:00
kay.sievers@vrfy.org
e56f005817 [PATCH] install udevinfo in /usr/bin
Here we rename the former tiny $(HELPER) to $(INFO)
cause it's no longer only a helper :)
And install it in /usr/bin instead of /sbin cause any user
may want to call it and we don't need it on startup.
2005-04-26 21:35:07 -07:00
greg@kroah.com
dfe421a965 [PATCH] Fix another problem with Makefile installing initscript 2005-04-26 21:35:07 -07:00
greg@kroah.com
789adb79f5 [PATCH] fix the Makefile to install the init script into the proper directory
grrr...robert...
2005-04-26 21:35:07 -07:00
greg@kroah.com
a8b41e072c [PATCH] 020 release 2005-04-26 21:35:07 -07:00
kay.sievers@vrfy.org
b5e0fc3208 [PATCH] man page udevstart 2005-04-26 21:35:07 -07:00
greg@kroah.com
1f63fbdd30 [PATCH] install udevstart 2005-04-26 21:35:07 -07:00
rml@ximian.com
c58f8c3000 [PATCH] automatically install correct initscript
On Mon, 2004-03-01 at 20:08, Robert Love wrote:

> Ack, I did not even see that!  Thanks.
>
> Let's rip that out, and always use the new built-in logic to determine
> what initscript to install.

Hm, looks like we do not need the %{lsb} and USE_LSB logic at all,
anymore.

Here is the patch, updated, removing both completely.
2005-04-26 21:35:07 -07:00
greg@kroah.com
82b9a63782 [PATCH] add udevstart program based on a old patch from Harald Hoyer <harald@redhat.com>
This can be used instead of the start_udev script for systems
that do not have a shell, or some other problem...
2005-04-26 21:35:07 -07:00
greg@kroah.com
e408796e91 [PATCH] 019_bk mark 2005-04-26 21:34:28 -07:00
kay.sievers@vrfy.org
f070df164c [PATCH] udev - kill udevd on install
We want to kill udevd after installing a new version, cause the event
contains a magic with the version number of udev.
2005-04-26 21:34:28 -07:00
greg@kroah.com
7eb136adb8 [PATCH] 018 release 2005-04-26 21:34:28 -07:00
greg@kroah.com
8481f8ce2b [PATCH] Add initial SELinux support for udev
Based on a patch from Daniel J Walsh <dwalsh@redhat.com>
2005-04-26 21:32:31 -07:00
greg@kroah.com
89067448b9 [PATCH] fix build for very old versions of make.
Should get rid of some more error reports of libsysfs header issues.
2005-04-26 21:32:31 -07:00
arvidjaar@mail.ru
7b7e4df57b [PATCH] do not remove real .udev.tdb during RPM build 2005-04-26 21:32:30 -07:00
greg@kroah.com
75a7b641ab [PATCH] remove udevtest on 'make clean' 2005-04-26 21:32:29 -07:00
greg@kroah.com
d54fe24caa [PATCH] 018_bk mark 2005-04-26 21:32:29 -07:00