]> granicus.if.org Git - sudo/commitdiff
avoid padding in struct cmndspec
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 9 Jun 2017 14:58:44 +0000 (08:58 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 9 Jun 2017 14:58:44 +0000 (08:58 -0600)
plugins/sudoers/parse.h

index b16f9ce037f736aebc6e93b76165d6437e29787b..e4cb7dc9642c8de4dfcf516f1f8575e85f600142 100644 (file)
@@ -178,9 +178,9 @@ struct cmndspec {
     struct member_list *runasgrouplist;        /* list of runas groups */
     struct member *cmnd;               /* command to allow/deny */
     struct cmndtag tags;               /* tag specificaion */
+    int timeout;                       /* command timeout */
     time_t notbefore;                  /* time restriction */
     time_t notafter;                   /* time restriction */
-    int timeout;                       /* command timeout */
 #ifdef HAVE_SELINUX
     char *role, *type;                 /* SELinux role and type */
 #endif