summaryrefslogtreecommitdiff
path: root/src/deliver.c
diff options
context:
space:
mode:
authorGregory Neil Shapiro <gshapiro@FreeBSD.org>2014-01-26 20:46:55 +0000
committerGregory Neil Shapiro <gshapiro@FreeBSD.org>2014-01-26 20:46:55 +0000
commitc1bfccf73ee6551521d508e89408309544c871c8 (patch)
treec7649ff2b7ea8545ce9a302a23d0db6931877c1f /src/deliver.c
parente388eedd7a4356992c2ecf5dcc8e77368cd9c391 (diff)
Diffstat (limited to 'src/deliver.c')
-rw-r--r--src/deliver.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/deliver.c b/src/deliver.c
index e941334fc137..987781c786bf 100644
--- a/src/deliver.c
+++ b/src/deliver.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998-2010, 2012 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 1998-2010, 2012 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved.
* Copyright (c) 1988, 1993
@@ -14,7 +14,7 @@
#include <sendmail.h>
#include <sm/time.h>
-SM_RCSID("@(#)$Id: deliver.c,v 8.1028 2013/01/02 18:57:42 ca Exp $")
+SM_RCSID("@(#)$Id: deliver.c,v 8.1030 2013/11/22 20:51:55 ca Exp $")
#if HASSETUSERCONTEXT
# include <login_cap.h>
@@ -2417,6 +2417,12 @@ tryhost:
else
pwd = sm_getpwnam(contextaddr->q_user);
sucflags = LOGIN_SETRESOURCES|LOGIN_SETPRIORITY;
+#ifdef LOGIN_SETCPUMASK
+ sucflags |= LOGIN_SETCPUMASK;
+#endif /* LOGIN_SETCPUMASK */
+#ifdef LOGIN_SETLOGINCLASS
+ sucflags |= LOGIN_SETLOGINCLASS;
+#endif /* LOGIN_SETLOGINCLASS */
#ifdef LOGIN_SETMAC
sucflags |= LOGIN_SETMAC;
#endif /* LOGIN_SETMAC */