summaryrefslogtreecommitdiff
path: root/udev_utils_string.c
AgeCommit message (Collapse)Author
2008-07-30delete all Makefiles and move udev source to udev/Kay Sievers
2007-05-17replace_chars: replace spaces in node nameKay Sievers
2007-05-16replace_untrusted_chars: replace all whitespace with spaceScott James Remnant
2007-05-16udev_db: escape path names with \x00 instead of %00Kay Sievers
2007-03-14encode db-file names, instead of just replacing '/'Kay Sievers
2006-08-28update source file headersKay Sievers
2006-08-24use fnmatch() instead of our own pattern match codeKay Sievers
2006-03-17add ',' to trusted charsKay Sievers
SGI needs it for some compatibility device names from irix, xvm volumes use "volname,subvolname" as the default device node.
2006-01-09replace libsysfsKay Sievers
We never used any of the libsysfs convenience features. Here we replace it completely with 300 lines of code, which are much simpler and a bit faster cause udev(d) does not open any syfs file for a simple event which does not need any parent device information. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-28rename ...trailing_char() to ...trailing_chars()Kay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-28start to enforce plain ascii or valid utf8Kay Sievers
No device node or symlink can have other characters as plain readable ascii or valid utf8. The /dev/disk/by-label/* symlinks can no longer contain weird stuff read from untrusted sources. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-28add uft8 validation for safe volume label exportingKay Sievers
We will not support any other character encoding than plain ascii or utf8 for volume labels. All invalid utf8 and non-ascii characters are substituted for security reasons. No options, no fancy heuristics. Signed-off-by: Kay Sievers <kay.sievers@suse.de>