Details
Details
- Reviewers
emaste sef - Group Reviewers
manpages - Commits
- rS354928: MFC r354694, r354699
rS354694: elf_aux_info: Add support for AT_EXECPATH.
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 27498 Build 25730: arc lint + arc unit
Event Timeline
| lib/libc/gen/auxv.c | ||
|---|---|---|
| 161 | looks like other cases (incorrectly?) return ENOENT for a too-small buffer, but this seems fine | |
| sys/sys/param.h | ||
|---|---|---|
| 63 | I asked for a bump so I can put a conditional in llvm, https://reviews.llvm.org/D70198 | |
| sys/sys/param.h | ||
|---|---|---|
| 63 | Ok, that makes sense. | |
Comment Actions
`
| lib/libc/gen/auxv.c | ||
|---|---|---|
| 158 | The kernel returns EFAULT on NULL pointers because it potentially takes a fault in copyout. The AT_CANARY code above crashes which seems gratuitous. | |
| 161 | I followed the documentation here. [EINVAL] The provided buffer was not the right size for the
requested item.Above, I considered buf=NULL to be a degenerate case of not-the-right-size. | |