1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 00:51:24 +03:00
Commit Graph

52299 Commits

Author SHA1 Message Date
greg@kroah.com
9c9fb5f6eb [PATCH] fix some compiler warnings in the tdb code. 2005-04-26 21:13:05 -07:00
greg@kroah.com
fc1f0d4326 [PATCH] Added Kay's name to the man page. 2005-04-26 21:13:05 -07:00
greg@kroah.com
07d7cfd1fa [PATCH] update the wildcard documentation in the man page to show the new styles supported. 2005-04-26 21:13:05 -07:00
greg@kroah.com
61219c756a [PATCH] fix permission handling logic
Now we can handle wildcards properly within the permission file.
2005-04-26 21:13:05 -07:00
greg@kroah.com
206d3623c6 [PATCH] enable default_mode ability to actually build 2005-04-26 21:13:05 -07:00
greg@kroah.com
8957102244 [PATCH] add support for the default_mode variable, as it is documented... 2005-04-26 21:13:05 -07:00
greg@kroah.com
356816abf6 [PATCH] show permissions and groups in the label_test 2005-04-26 21:13:05 -07:00
greg@kroah.com
5ec0b54216 [PATCH] remove some items off of the TODO list, as they are now done. 2005-04-26 21:13:05 -07:00
greg@kroah.com
72ffa78deb [PATCH] fix up the tests to work without all of the environ variables. 2005-04-26 21:13:05 -07:00
greg@kroah.com
3836a3c49a [PATCH] get rid of the majority of the debug environment variables.
Now there are only 3 valid environment test variables.  The rest can be
specified with the config file.
2005-04-26 21:13:05 -07:00
kay.sievers@vrfy.org
9f1da36138 [PATCH] pattern matching for namedev
As promised yesterday, here is a patch to implement a more advanced
pattern matching instead of the simple '*'.

We can remove the "tty"="tty" line from udev.rules now and
replace "tty*" by "tty[0-9]*" to catch only the vc's.


  implement pattern matching in namedev
  '*'  - to match zero or more chars
  '?'  - to match exactly one char
  '[]' - character classes with ranges '[0-9]'and negation [!A]
2005-04-26 21:13:05 -07:00
greg@kroah.com
4865de4429 [PATCH] Update the man page to show the new config file, it's format, and how to use it.
wow, update the docs to keep in line with reality, what a concept...
2005-04-26 21:13:05 -07:00
greg@kroah.com
fd9594b61f [PATCH] fix up the tests to support the rules file name change 2005-04-26 21:13:05 -07:00
greg@kroah.com
e8bacccab2 [PATCH] add support for a main udev config file, udev.conf.
the older udev.config file is now called udev.rules.
This allows us to better control configuration values, and move away from 
the environment variables.
2005-04-26 21:13:05 -07:00
greg@kroah.com
29b82deb7e [PATCH] turn debugging messages off by default.
it's a bit noisy for the masses...
2005-04-26 21:13:05 -07:00
greg@kroah.com
19feb35100 [PATCH] split out the namedev config parsing logic to namedev_parse.c 2005-04-26 21:13:05 -07:00
greg@kroah.com
5c6f0fb0dc [PATCH] rename namedev's get_attr() to be main namedev_name_device() as that's what it really is. 2005-04-26 21:13:05 -07:00
greg@kroah.com
8448980019 [PATCH] add devfs like tty rules as an example in the default config file. 2005-04-26 21:13:05 -07:00
kay.sievers@vrfy.org
0db6d4cc61 [PATCH] catch replace device by wildcard
catch device name by wildcard to support a whole class of devices
  by just one config line like:
  REPLACE, KERNEL="tty*", NAME="vc/%n"
2005-04-26 21:13:05 -07:00
greg@kroah.com
8cf7ebe8cd [PATCH] operate on the rules in the order they are in the config file (within the rule type) 2005-04-26 21:13:04 -07:00
mort@wildopensource.com
7f2ea6a382 [PATCH] Add -nodefaultlibs while compiling against klibc
This patch adds -nodefaultlibs to LDFLAGS when compiling udev against
klibc.  This fixes the warning that I was getting when using $(LD)=gcc
in the versions after Makefile.klibc disappeared.  The problem was that
it was still including a "-lc" in the call to the linker.
2005-04-26 21:13:04 -07:00
dsteklof@us.ibm.com
edcd336477 [PATCH] another patch for path problem
The quick patch I sent you yesterday fixes it in one location, but
there are other points in the library that calls sysfs_get_mnt_path. We
need to address all the areas in the library where paths are used. The
following patch is a band-aid until we can get a proper path management
in the library.
2005-04-26 21:13:04 -07:00
greg@kroah.com
bc1530c65c [PATCH] Cset exclude: dsteklof@us.ibm.com|ChangeSet|20031126173159|56255 2005-04-26 21:13:04 -07:00
olh@suse.de
bfd8a5d0f7 [PATCH] ARCH detection for ppc
I'm not sure why ppc is converted to powerpc, it breaks at least $(ARCH)
in klibc.

gcc -dumpmachine
powerpc-suse-linux
2005-04-26 21:13:04 -07:00
arnd@arndb.de
c076a2bde4 [PATCH] Build failure - missing linux/limits.h include?
On Tuesday 25 November 2003 00:12, Chris Larson wrote:
> udev fails to compile here unless I'm doing a KLIBC build. The reason
> appears to be that the normal limits.h in the gcc inc dir doesn't pull
> in linux/limits.h, whereas the limits.h out in the klibc include dirs
> does. I'd think it'd be best to add a #include <linux/limits.h> to
> udev.h directly, since it uses PATH_MAX.

No, don't include kernel headers directly if you can avoid it.
The problem you are referring to seems to be with old tool chains,
I have the same symptom with my s390 gcc-2.95/glibc-2.1.3.
Including <sys/param.h> instead of <limits.h> seems to fix it.
2005-04-26 21:13:04 -07:00
christophe.varoqui@free.fr
359618cd6e [PATCH] udev-007/extras/multipath update
here is a clean-up patch :

* removes sg_err.[ch] deps
* makes sure the core code play nice with klibc
* port the sysfs calls to dlist helpers
* links against udev's sysfs (need libsysfs.a & dlist.a)
* finally define DM_TARGET as "multipath" as Joe posted the code today
  (not tested yet)
* push version forward (do you want it in sync with udev version?)

libdevmapper doesn't play well with klibc, so I wasn't able to produce a
static binary yet. Help needed here ... as I don't want to fall back to
merge libdevmapper code in the core.

It compiles here and doesn't segfault.
2005-04-26 21:13:04 -07:00
patmans@us.ibm.com
871ea775c7 [PATCH] fix udev parallel builds with klibc
I can't build udev with make -j9. Here's a patch to fix it.
2005-04-26 21:13:04 -07:00
greg@kroah.com
772558f4e9 [PATCH] add test for checking the BUS value. 2005-04-26 21:13:04 -07:00
greg@kroah.com
137af0cc47 [PATCH] fix problem where we were not looking at the BUS value. 2005-04-26 21:13:04 -07:00
dsteklof@us.ibm.com
b376d32cb4 [PATCH] quick fix for libsysfs bus
There seems to be a
mismatch in udev and in libsysfs as to what to expect if the mnt point
has a slash on the end or not. If I use the included patch, it breaks
something in udev. If I patch sysfs_get_mnt_path I break udev as well
because what you're expecting. I need to sit down and go through
the library and creaate a rule as to trailing slashes. Adding the env
brought this to light.
2005-04-26 21:13:04 -07:00
dsteklof@us.ibm.com
ff44a6b0b7 [PATCH] libsysfs changes for sysfsutils 0.3.0
Here's the patch to up the library to the sysfsutils-0_3_0 level. The
following changes:

1) adds class name to sysfs_class_device structure
2) adds bus to sysfs_device
3) gets rid of code that made assumptions as to bus addresses being
unique across buses, which isn't the case.


I still owe you:

1) change getpagesize->sysconf. This is in the CVS tree and part of other
changes we're currently testing. Patch will follow.
2) you need a function to get a sysfs_class_device's parent. We hadn't
considered class devices to have parents, the one example of a multilevel
is the block class. We will add this function and send the patch to you.
2005-04-26 21:13:04 -07:00
greg@kroah.com
36043f8418 [PATCH] add test and documentation for new %D devfs format modifier 2005-04-26 21:13:04 -07:00
arnd@arndb.de
5c6f0f141d [PATCH] Add format modifier for devfs like naming
On Monday 24 November 2003 01:29, Greg KH wrote:
> I think with the ability to capture the output of the CALLOUT rule,
> combined with the ability to put format modifiers in the CALLOUT program
> string, we now have everything in place to emulate the existing devfs
> naming scheme.  Anyone want to verify this or not?

I would prefer to have the ability of creating partition nodes in devfs
style built-in to udev. Devfs used to call the whole disk e.g.
"/dev/dasd/0123/disk" and the partitions "/dev/dasd/0123/part[1-3]".
This can obviously be done with a CALLOUT rule, but its common enough
to make it a format modifier. AFAIK, this scheme has been used for
ide, scsi and dasd disks, which is about 99% of all disks ever connected
to Linux.
2005-04-26 21:13:04 -07:00
azarah@nosferatu.za.org
befd83cc4e [PATCH] more config file parsing robustness
udev kept on segfaulting when it was in use, and not having the time
(and building it with DEBUG=true showing nothing), I have not tracked it
until tonight.  Seems like I made a type-o, and forgotten the ':'
between one line's group and permission parameters.  Attached patch
should stop the segfault, and warn at that at least.
2005-04-26 21:13:04 -07:00
greg@kroah.com
49d72e4348 [PATCH] changed the default location of the database to /udev/.udev.tdb to be LSB compliant
Finally the Debian people can get off my back...
2005-04-26 21:13:04 -07:00
kay.sievers@vrfy.org
5b8ba50aa2 [PATCH] udev.8 tweak numeric id text
04-udev.8-tweak-numeric-id-text.diff
  o change "return value" to "returned string"
  o add textual owner/group example for udev.permissions
  o mention klibc compile as special case for udev.permissions
  o remove duplicated numeric owner clause
2005-04-26 21:13:04 -07:00
kay.sievers@vrfy.org
5499d31905 [PATCH] udev-test.pl add subdir test
03-udev-test.pl-add-subdir-test.diff
  o duplicate existing test and change it to explicitely test the subdir handling
2005-04-26 21:13:04 -07:00
kay.sievers@vrfy.org
6968d494d7 [PATCH] namedev.c strcat tweak
02-namedev.c-strcat-tweak.diff
  o cat the substitution to the already known end of the string instead of searching it another time
2005-04-26 21:13:04 -07:00
kay.sievers@vrfy.org
f7b4eca455 [PATCH] overall whitespace + debug text conditioning
01-overall-whitespace+debug-text-conditioning.diff
  o cleanup whitespace
  o clarify a few comments
  o enclose all printed debug string values in ''
2005-04-26 21:13:03 -07:00
arnd@arndb.de
74894b53f8 [PATCH] klibc makefile fixes 2005-04-26 21:13:02 -07:00
greg@kroah.com
fee6f4150d [PATCH] get rid of functions in klibc_fixups that are now in klibc 2005-04-26 21:13:02 -07:00
greg@kroah.com
02cbdf5eb9 [PATCH] sync up with the 0.84 version of klibc 2005-04-26 21:13:02 -07:00
greg@kroah.com
7e1b28e8fa [PATCH] fix udev init.d script to handle all class devices in sysfs. 2005-04-26 21:13:02 -07:00
greg@kroah.com
89f38d18ce [PATCH] fix the test.block and test.tty scripts due to their moveing. Also add a test.all script. 2005-04-26 21:13:02 -07:00
kay.sievers@vrfy.org
f8f00338a1 [PATCH] udev-test.pl - tweaks
I found two missing characters and optimized $PWD.
2005-04-26 21:13:02 -07:00
greg@kroah.com
58a16d607b [PATCH] 007_bk version change to Makefile. 2005-04-26 21:13:02 -07:00
greg@kroah.com
44132eca4e [PATCH] v007 release 2005-04-26 21:13:02 -07:00
greg@kroah.com
f02763a95b [PATCH] v007 Changelog 2005-04-26 21:13:02 -07:00
greg@kroah.com
a86d6f5672 [PATCH] update default config file with a CALLOUT rule, and more documentation. 2005-04-26 21:13:02 -07:00
greg@kroah.com
67922099bf [PATCH] updated the man page with the latest format specifier changes. 2005-04-26 21:13:02 -07:00