From ab7f7a664aa67a60fabf3ba1b5e79b75283c5536 Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 7 Oct 2007 01:23:17 +0000 Subject: [PATCH] don't set obsolete flags in SETALL. From Anon Ymous --- include/login_cap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/login_cap.h b/include/login_cap.h index ec085da52c9b..67d8dc083f4e 100644 --- a/include/login_cap.h +++ b/include/login_cap.h @@ -1,4 +1,4 @@ -/* $NetBSD: login_cap.h,v 1.9 2007/10/07 00:37:11 christos Exp $ */ +/* $NetBSD: login_cap.h,v 1.10 2007/10/07 01:23:17 christos Exp $ */ /*- * Copyright (c) 1995,1997 Berkeley Software Design, Inc. All rights reserved. @@ -52,7 +52,7 @@ #define LOGIN_SETENV 0x0080 /* Set user environment */ #define LOGIN_SETGID 0x0100 /* Set group id */ #define LOGIN_SETGROUPS 0x0200 /* Set group membership (initgroups) */ -#define LOGIN_SETALL 0x03ff /* Set all. */ +#define LOGIN_SETALL 0x03fe /* Set all. 0x0001 is obsolete! */ #define LOGIN_SETGROUP (LOGIN_SETGID|LOGIN_SETGROUPS) /* Set group */ typedef struct {