/* * $Id$ * * this file is associated with the Linux-PAM filter module. * it was written by Andrew G. Morgan <morgan@linux.kernel.org> * */ #ifndef PAM_FILTER_H #define PAM_FILTER_H #include <sys/file.h> /* * this will fail if there is some problem with these file descriptors * being allocated by the pam_filter Linux-PAM module. The numbers * here are thought safe, but the filter developer should use the * macros, as these numbers are subject to change. * * The APPXXX_FILENO file descriptors are the STDIN/OUT/ERR_FILENO of the * application. The filter uses the STDIN/OUT/ERR_FILENO's to converse * with the user, passes (modified) user input to the application via * APPIN_FILENO, and receives application output from APPOUT_FILENO/ERR. */ #define APPIN_FILENO 3 /* write here to give application input */ #define APPOUT_FILENO 4 /* read here to get application output */ #define APPERR_FILENO 5 /* read here to get application errors */ #define APPTOP_FILE 6 /* used by select */ #endif
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
_pam_compat.h | File | 2.9 KB | 0644 |
|
_pam_macros.h | File | 5.97 KB | 0644 |
|
_pam_types.h | File | 12.6 KB | 0644 |
|
pam_appl.h | File | 3.22 KB | 0644 |
|
pam_client.h | File | 7.07 KB | 0644 |
|
pam_ext.h | File | 3.55 KB | 0644 |
|
pam_filter.h | File | 1.06 KB | 0644 |
|
pam_misc.h | File | 1.49 KB | 0644 |
|
pam_modules.h | File | 6.28 KB | 0644 |
|
pam_modutil.h | File | 4.63 KB | 0644 |
|