Go to the source code of this file.
Function Documentation
The explain_buffer_eacces function may be used to
- Parameters:
-
sb | The string buffer to print into. |
pathname | The problematic pathname |
caption | The name of the offending system call argument. |
final_component | The desired properties of the final component |
The explain_buffer_eacces_shmat function is use dto explain EACCES error returned by shmat (and friends?).
- Parameters:
-
sb | The string buffer to print into. |
perm | The access permission attached to the shared memory segment. |
read_only | Whether or no read only access was requested (if false, read-write access is requested). |
- Returns:
- 0 if it printed nothing, 1 if it printed an explanation
Definition at line 503 of file shm.c.
The explain_buffer_eacces_shmat_vague function is use dto explain EACCES error returned by shmat, when no specific error can be determined.
- Parameters:
-
sb | The string buffer to print into. |
Definition at line 518 of file shm.c.
The explain_buffer_eacces_syscall function may be used to explan an EACCES error returned from a given system call.
- Parameters:
-
sb | The string buffer to print into. |
syscall_name | The name of the offending system call argument. |
Definition at line 23 of file syscall.c.