chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
udev: fixup commit dd5eddd28a74a49607a8fffcaf960040dba98479
[elogind.git]
/
src
/
udev
/
udev-builtin-uaccess.c
diff --git
a/src/udev/udev-builtin-uaccess.c
b/src/udev/udev-builtin-uaccess.c
index 354ee08f28bd262911d321bf25ef756989621a5b..e2b276eb4d6426840b98ad16c9498cd9e8f86d8e 100644
(file)
--- a/
src/udev/udev-builtin-uaccess.c
+++ b/
src/udev/udev-builtin-uaccess.c
@@
-34,17
+34,12
@@
#include "udev.h"
#include "util.h"
#include "udev.h"
#include "util.h"
-static int builtin_uaccess(struct udev_device *dev, int argc, char *argv[], bool test)
-{
+static int builtin_uaccess(struct udev_device *dev, int argc, char *argv[], bool test) {
int r;
const char *path = NULL, *seat;
bool changed_acl = false;
uid_t uid;
int r;
const char *path = NULL, *seat;
bool changed_acl = false;
uid_t uid;
- log_set_target(LOG_TARGET_AUTO);
- log_parse_environment();
- log_open();
-
umask(0022);
/* don't muck around with ACLs when the system is not running systemd */
umask(0022);
/* don't muck around with ACLs when the system is not running systemd */