aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_setquota
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2020-05-01 19:20:12 +0000
committerDmitry V. Levin <ldv@altlinux.org>2020-05-03 12:21:11 +0000
commit37b5259298be9137f5b40eef16027152ddb803ff (patch)
tree009945b3b4e87f180d58bfe99d21a1b9e27f7c13 /modules/pam_setquota
parent1de9239b810a8aeab50a12048ae4b2f1256b11ea (diff)
downloadpam-37b5259298be9137f5b40eef16027152ddb803ff.tar.gz
pam-37b5259298be9137f5b40eef16027152ddb803ff.tar.bz2
pam-37b5259298be9137f5b40eef16027152ddb803ff.zip
modules: remove PAM_SM_* macros
Starting with commit a684595c0bbd88df71285f43fb27630e3829121e aka Linux-PAM-1.3.0~14 (Remove "--enable-static-modules" option and support from Linux-PAM), PAM_SM_* macros have no effect.
Diffstat (limited to 'modules/pam_setquota')
-rw-r--r--modules/pam_setquota/pam_setquota.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/pam_setquota/pam_setquota.c b/modules/pam_setquota/pam_setquota.c
index 3e2b9508..43c76d66 100644
--- a/modules/pam_setquota/pam_setquota.c
+++ b/modules/pam_setquota/pam_setquota.c
@@ -6,7 +6,6 @@
Copyright © 2010 Shane Tzen <shane@ict.usc.edu>
Copyright © 2012-2020 Sven Hartge <sven@svenhartge.de>
Copyright © 2016 Keller Fuchs <kellerfuchs@hashbang.sh>
-
*/
#include <sys/types.h>
@@ -19,8 +18,6 @@
#include <stdio.h>
#include <stdbool.h>
-#define PAM_SM_SESSION
-
#include <security/pam_modules.h>
#include <security/_pam_macros.h>
#include <security/pam_ext.h>