Change the size argument of __getcwd() to size_t.
This matches the getcwd() definition. This is technically an ABI change, but that would only effect 64-bit big-endian platforms that pass arguments on the stack. We have none of those. Reviewed by: jhb Obtained from: CheriABI Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D9428
This commit is contained in:
parent
08069ae688
commit
982519d10f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=316594
@ -586,7 +586,7 @@
|
||||
323 AUE_NULL OBSOL thr_wakeup
|
||||
324 AUE_MLOCKALL NOPROTO { int mlockall(int how); }
|
||||
325 AUE_MUNLOCKALL NOPROTO { int munlockall(void); }
|
||||
326 AUE_GETCWD NOPROTO { int __getcwd(char *buf, u_int buflen); }
|
||||
326 AUE_GETCWD NOPROTO { int __getcwd(char *buf, size_t buflen); }
|
||||
|
||||
327 AUE_NULL NOPROTO { int sched_setparam (pid_t pid, \
|
||||
const struct sched_param *param); }
|
||||
|
@ -573,7 +573,7 @@
|
||||
323 AUE_NULL OBSOL thr_wakeup
|
||||
324 AUE_MLOCKALL STD { int mlockall(int how); }
|
||||
325 AUE_MUNLOCKALL STD { int munlockall(void); }
|
||||
326 AUE_GETCWD STD { int __getcwd(char *buf, u_int buflen); }
|
||||
326 AUE_GETCWD STD { int __getcwd(char *buf, size_t buflen); }
|
||||
|
||||
327 AUE_NULL STD { int sched_setparam (pid_t pid, \
|
||||
const struct sched_param *param); }
|
||||
|
Loading…
Reference in New Issue
Block a user