X-Git-Url: https://ruderich.org/simon/gitweb/?p=ptyas%2Fptyas.git;a=blobdiff_plain;f=ptyas.c;h=ab99f8ede71cf352d4d7aa2ef9c2af83a5b4ef06;hp=70b1bf3918fb45c909bb4ee745fc6950d813dcc4;hb=c8ffdb4777654018284c63d7824efca50e5d65b7;hpb=66160644175cf5be5f0400594d1ce65b4de0fd0c diff --git a/ptyas.c b/ptyas.c index 70b1bf3..ab99f8e 100644 --- a/ptyas.c +++ b/ptyas.c @@ -2,7 +2,7 @@ * Run the login shell or command as the given user in a new pty to prevent * terminal injection attacks. * - * Copyright (C) 2016 Simon Ruderich + * Copyright (C) 2016-2017 Simon Ruderich * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -119,7 +119,7 @@ static void drop_privileges_or_die(uid_t uid, gid_t gid) { die("setgroups"); } if (getgroups(0, NULL) != 0) { - die_fmt("failed to drop all groups"); + die_fmt("failed to drop all supplementary groups"); } /* Dropping groups may require privileges, do that first. */