summaryrefslogtreecommitdiffstats
path: root/src/shared/group-record.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-08-06 17:35:34 +0200
committerLennart Poettering <lennart@poettering.net>2020-08-07 08:39:18 +0200
commit0bb4308014d587354d4dbd1cc3a122f0751974b2 (patch)
treea29c30ffbb90920b720fcbc1168fedf868284336 /src/shared/group-record.h
parentupdate TODO (diff)
downloadsystemd-0bb4308014d587354d4dbd1cc3a122f0751974b2.tar.xz
systemd-0bb4308014d587354d4dbd1cc3a122f0751974b2.zip
userdb: add "description" field to group records
User records have the realname/gecos fields, groups never had that, but it would really be useful to have it, hence let's add it with similar semantics. We enforce the same syntax as for GECOS, since it's better to start with strict rules and losen them later instead of the opposite.
Diffstat (limited to 'src/shared/group-record.h')
-rw-r--r--src/shared/group-record.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/group-record.h b/src/shared/group-record.h
index b72a43e50d..85c91eb1f5 100644
--- a/src/shared/group-record.h
+++ b/src/shared/group-record.h
@@ -13,6 +13,8 @@ typedef struct GroupRecord {
char *realm;
char *group_name_and_realm_auto;
+ char *description;
+
UserDisposition disposition;
uint64_t last_change_usec;