1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-04-23 06:50:08 +03:00

14 Commits

Author SHA1 Message Date
greg@kroah.com
b51a038ca5 [PATCH] fix compilation warning in tdb log message. 2005-04-26 21:58:15 -07:00
kay.sievers@vrfy.org
7e89a569cc [PATCH] prevent deadlocks on an corrupt udev database
Here is the patch, that should prevent all of the known deadlocks with
corrupt tdb databases we discovered.
Thanks to Frank Steiner <fsteiner-mail@bio.ifi.lmu.de>, who tested all this
endlessly with a NFS mounted /dev. The conclusion is, that udev will not work
on filesystems without proper record locking, but we should prevent the
endless loops anyway. This patch implements:

o recovery from a corrupted udev database. udev will continue
  without database support now, instead of doing nothing. So the node should
  be generated in any case, remove will obviously not work for custom names.

o added iteration limits to the tdb-code at the places we discovered endless
  loops. In the case tdb tries to find more than 100.000 entries with the
  same hash, we better give up :)

o prevent a {all_partitions} loop caused by corrupt db data

o log all tdb errors to syslog

o switch sleep() to usleep() cause we want to use alarm()
2005-04-26 21:47:44 -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
6e3e3c3416 [PATCH] PATCH udev close on exec
selinux wants a clean fd set, so better close all open fds
2005-04-26 21:37:03 -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
greg@kroah.com
d546791d3a [PATCH] signal fixes due to klibc update. 2005-04-26 21:13:08 -07:00
greg@kroah.com
9c9fb5f6eb [PATCH] fix some compiler warnings in the tdb code. 2005-04-26 21:13:05 -07:00
arnd@arndb.de
74894b53f8 [PATCH] klibc makefile fixes 2005-04-26 21:13:02 -07:00
greg@kroah.com
1c386a909a [PATCH] udev build tweaks to tdb's spinlock code 2005-04-26 21:05:23 -07:00
greg@kroah.com
aa04c7f0cf [PATCH] tweak tdb to build within udev better. 2005-04-26 21:05:23 -07:00
greg@kroah.com
bf0314e326 [PATCH] make libsysfs build cleanly 2005-04-26 21:05:23 -07:00
greg@kroah.com
dca0297941 [PATCH] do not build the tdb binary programs, only the objects.
Now it's not necessary to have gdbm to build properly.
2005-04-26 21:01:40 -07:00
lethal@linux-sh.org
99bec17497 [PATCH] Fix TDB cross compilation
The merge of tdb ended up breaking the ability to cross compile again, here's
a bk patch that yanks CC out of the tdb Makefile, and in turn falls back on
the exported CC value from the top-level Makefile which correctly sets it
based off of the CROSS value.
2005-04-26 21:01:40 -07:00
greg@kroah.com
5ac4a56b39 [PATCH] Added tdb code from latest cvs version in the samba tree 2005-04-26 21:01:40 -07:00