Message type for PM_SET{,E}GID
Change-Id: I489d9290553b28361344e0cfd59c31e7e672c22c
This commit is contained in:
@@ -85,9 +85,6 @@
|
||||
#define PM_SIG_SET m2_sigset /* sigset_t */
|
||||
#define PM_SIG_CTX m2_p1 /* struct sigcontext * */
|
||||
|
||||
/* Field names for the setgid(2)/setegid(2) calls. */
|
||||
#define PM_SETGID_GID m1_i1 /* gid_t */
|
||||
|
||||
/* Field names for the getppid(2) call. */
|
||||
#define PM_GETPID_PARENT m2_i1 /* pid_t */
|
||||
|
||||
|
||||
@@ -195,6 +195,13 @@ typedef struct {
|
||||
} mess_lc_pm_reboot;
|
||||
_ASSERT_MSG_SIZE(mess_lc_pm_reboot);
|
||||
|
||||
typedef struct {
|
||||
gid_t gid;
|
||||
|
||||
uint8_t padding[52];
|
||||
} mess_lc_pm_setgid;
|
||||
_ASSERT_MSG_SIZE(mess_lc_pm_setgid);
|
||||
|
||||
typedef struct {
|
||||
uid_t uid;
|
||||
|
||||
@@ -1041,6 +1048,7 @@ typedef struct {
|
||||
mess_lc_pm_priority m_lc_pm_priority;
|
||||
mess_lc_pm_ptrace m_lc_pm_ptrace;
|
||||
mess_lc_pm_reboot m_lc_pm_reboot;
|
||||
mess_lc_pm_setgid m_lc_pm_setgid;
|
||||
mess_lc_pm_setuid m_lc_pm_setuid;
|
||||
mess_lc_pm_sysuname m_lc_pm_sysuname;
|
||||
mess_lc_pm_time m_lc_pm_time;
|
||||
|
||||
Reference in New Issue
Block a user