| 1 | Description: |
| 2 | O_PATH is a Linux extension. The corresponding extension on GNU/Hurd is O_NORW. |
| 3 | Author: Mattias Ellert <[email protected]> |
| 4 | |
| 5 | --- procps-4.0.6.orig/library/readproc.c 2026-01-29 10:48:26.000000000 +0100 |
| 6 | +++ procps-4.0.6/library/readproc.c 2026-05-30 06:56:10.000000000 +0200 |
| 7 | @@ -61,6 +61,10 @@ |
| 8 | #define LEAVE(x) |
| 9 | #endif |
| 10 | |
| 11 | +#ifndef O_PATH |
| 12 | +#define O_PATH O_NORW |
| 13 | +#endif |
| 14 | + |
| 15 | #ifdef FALSE_THREADS |
| 16 | #define IS_THREAD(q) ( q->tid != q->tgid ) |
| 17 | #endif |