| 1 |
root |
1.2 |
/* |
| 2 |
root |
1.3 |
* This file contains a few tunables for libptytty. Normally there should |
| 3 |
|
|
* be little reason to change this file. It is provided to suit rare or |
| 4 |
|
|
* special cases only. |
| 5 |
|
|
*/ |
| 6 |
|
|
|
| 7 |
|
|
/* |
| 8 |
root |
1.2 |
* Default mode to restore when releasing the PTS device. It is relaxed to be |
| 9 |
root |
1.1 |
* compatible with most systems, change it to a more secure value if your |
| 10 |
|
|
* system supports it (0640 for example). |
| 11 |
|
|
*/ |
| 12 |
|
|
#define RESTORE_TTY_MODE 0666 |
| 13 |
|
|
|
| 14 |
|
|
/* |
| 15 |
|
|
* Define if you want to use a separate process for pty/tty handling |
| 16 |
|
|
* when running setuid/setgid. You need this when making it setuid/setgid. |
| 17 |
|
|
*/ |
| 18 |
|
|
#define PTYTTY_HELPER 1 |
| 19 |
|
|
|
| 20 |
root |
1.2 |
/* |
| 21 |
|
|
* Provide a STL-like vector class. |
| 22 |
|
|
* The default is fine for normal C++ environments. |
| 23 |
|
|
*/ |
| 24 |
|
|
#include <vector> |
| 25 |
|
|
|