| Index: sandbox/linux/seccomp-bpf/errorcode.h
|
| diff --git a/sandbox/linux/seccomp-bpf/errorcode.h b/sandbox/linux/seccomp-bpf/errorcode.h
|
| index 7a21f3f2c93e9676c78997fc397bb7268177a914..302bb231fd0cec5a47d9e6a85a5f02a960ea9e1d 100644
|
| --- a/sandbox/linux/seccomp-bpf/errorcode.h
|
| +++ b/sandbox/linux/seccomp-bpf/errorcode.h
|
| @@ -35,9 +35,14 @@ class SANDBOX_EXPORT ErrorCode {
|
| // indicate success, but it won't actually run the system call.
|
| // This is very different from return ERR_ALLOWED.
|
| ERR_MIN_ERRNO = 0,
|
| +#if defined(__mips__)
|
| + // MIPS only supports errno up to 1133
|
| + ERR_MAX_ERRNO = 1133,
|
| +#else
|
| // TODO(markus): Android only supports errno up to 255
|
| // (crbug.com/181647).
|
| ERR_MAX_ERRNO = 4095,
|
| +#endif
|
| };
|
|
|
| // While BPF filter programs always operate on 32bit quantities, the kernel
|
|
|