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:
brooks 2017-04-06 23:40:13 +00:00
parent 61aff9b4e9
commit b62c8e8422
2 changed files with 2 additions and 2 deletions

View File

@ -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); }

View File

@ -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); }