diff options
author | Łukasz Stelmach <l.stelmach@samsung.com> | 2021-03-19 15:20:06 +0100 |
---|---|---|
committer | Karol Lewandowski <k.lewandowsk@samsung.com> | 2021-04-22 15:44:43 +0200 |
commit | bb8143df6424030d499d03179bfe21a893a19408 (patch) | |
tree | 506861466550902a474813c8ef1d746a456b97c5 | |
parent | 736ad65a3972495d235fd2ea6de558767da16f09 (diff) | |
download | linux-tizen-modules-bb8143df6424030d499d03179bfe21a893a19408.tar.gz linux-tizen-modules-bb8143df6424030d499d03179bfe21a893a19408.tar.bz2 linux-tizen-modules-bb8143df6424030d499d03179bfe21a893a19408.zip |
logger: move logger.h to uapi
Move logger.h to uapi so it can be exported for userland
software to use.
Change-Id: I64dca69f3442edc246562485b0b29b43615ae881
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
[ Pick only changes in logger.[ch] while moving code out of tree ]
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
-rw-r--r-- | drivers/staging/android/logger.c | 2 | ||||
-rw-r--r-- | drivers/staging/android/logger.h | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/drivers/staging/android/logger.c b/drivers/staging/android/logger.c index 3347706..0d21142 100644 --- a/drivers/staging/android/logger.c +++ b/drivers/staging/android/logger.c @@ -32,7 +32,7 @@ #include <linux/fdtable.h> #include <linux/file.h> -#include "logger.h" +#include <uapi/linux/logger.h> /** * struct logger_log - represents a specific log, such as 'main' or 'radio' diff --git a/drivers/staging/android/logger.h b/drivers/staging/android/logger.h index b11e48c..a02ac11 100644 --- a/drivers/staging/android/logger.h +++ b/drivers/staging/android/logger.h @@ -66,7 +66,11 @@ struct logger_entry { __s32 tid; __s32 sec; __s32 nsec; +#ifndef __KERNEL__ + __s32 euid; +#else kuid_t euid; +#endif char msg[0]; }; |