clang-format
This commit is contained in:
@@ -35,8 +35,8 @@
|
||||
*/
|
||||
|
||||
#if defined(__mips__)
|
||||
#define KERN_PTR ((void *)0x80000000) /* addr within kernel */
|
||||
#define INVAL_PTR ((void *)0x40000000) /* addr not part of program */
|
||||
#define KERN_PTR ((void *)0x80000000) /* addr within kernel */
|
||||
#define INVAL_PTR ((void *)0x40000000) /* addr not part of program */
|
||||
#else
|
||||
#error "Please fix this"
|
||||
#endif
|
||||
@@ -45,16 +45,16 @@
|
||||
* We assume CLOSED_FD is a legal fd that won't be open when we're running.
|
||||
* CLOSED_FD+1 should also be legal and not open.
|
||||
*/
|
||||
#define CLOSED_FD 10
|
||||
#define CLOSED_FD 10
|
||||
|
||||
/* We assume IMPOSSIBLE_FD is a fd that is completely not allowed. */
|
||||
#define IMPOSSIBLE_FD 1234567890
|
||||
#define IMPOSSIBLE_FD 1234567890
|
||||
|
||||
/* We assume this pid won't exist while we're running. Change as needed. */
|
||||
#define NONEXIST_PID 34000
|
||||
#define NONEXIST_PID 34000
|
||||
|
||||
/* An arbitrary process exit code that hopefully won't occur by accident */
|
||||
#define MAGIC_STATUS 107
|
||||
#define MAGIC_STATUS 107
|
||||
|
||||
/* An ioctl that doesn't exist */
|
||||
#define NONEXIST_IOCTL 12345
|
||||
#define NONEXIST_IOCTL 12345
|
||||
|
||||
Reference in New Issue
Block a user