dchagin 4f4ad9e7dd MFC r276564, r276654:
Cast *path to silence clang -Wpointer-sign warning.

Indeed, instead of hiding the kern___getcwd() bug by bogus cast
in r276564, change path type to char * (pathnames are always char *).
And remove bogus casts of malloc().
kern___getcwd() internally doesn't actually use or support u_char *
paths, except to copy them to a normal char * path.

These changes are not visible to libc as libc/gen/getcwd.c misdeclares
__getcwd() as taking a plain char * path.

While here remove _SYS_SYSPROTO_H_ for __getcwd() syscall as
we always have sysproto.h.
2015-01-11 07:02:03 +00:00
..
2015-01-08 06:29:52 +00:00
2015-01-11 07:02:03 +00:00
2014-09-27 08:33:50 +00:00
2012-01-15 13:23:18 +00:00
2012-01-15 13:23:18 +00:00
2015-01-08 06:32:56 +00:00
2012-02-10 12:35:57 +00:00
2014-09-23 07:50:04 +00:00
2014-09-23 07:50:04 +00:00