From 27f8f3669a41e32a3da867dfd1cbc16e368a9a28 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 18 Feb 2009 23:16:57 +0100 Subject: [PATCH] mount: inform about UID and eUID when verbose > 2 Signed-off-by: Karel Zak --- mount/mount.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mount/mount.c b/mount/mount.c index 3f0b0c61..94fa94fb 100644 --- a/mount/mount.c +++ b/mount/mount.c @@ -2174,6 +2174,8 @@ main(int argc, char *argv[]) { printf("mount: mtab path: \"%s\"\n", _PATH_MOUNTED); printf("mount: lock path: \"%s\"\n", _PATH_MOUNTED_LOCK); printf("mount: temp path: \"%s\"\n", _PATH_MOUNTED_TMP); + printf("mount: UID: %d\n", getuid()); + printf("mount: eUID: %d\n", geteuid()); } argc -= optind; -- 2.39.5