From cf1a99dacc9b1b6a091e03906b60c47774a339f5 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 28 Aug 2012 18:10:58 +0200 Subject: su: move generic su code to su-common.c Signed-off-by: Karel Zak --- login-utils/su-common.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 login-utils/su-common.h (limited to 'login-utils/su-common.h') diff --git a/login-utils/su-common.h b/login-utils/su-common.h new file mode 100644 index 000000000..7cf376909 --- /dev/null +++ b/login-utils/su-common.h @@ -0,0 +1,11 @@ +#ifndef UTIL_LINUX_SU_COMMON_H +#define UTIL_LINUX_SU_COMMON_H + +enum { + SU_MODE, + RUNUSER_MODE +}; + +extern int su_main(int argc, char **argv, int mode); + +#endif /* UTIL_LINUX_SU_COMMON */ -- cgit v1.2.3-55-g7522