ukernel: handle pioctl errors properly in ktc
authorDerrick Brashear <shadow@dementix.org>
Fri, 4 Nov 2011 15:43:01 +0000 (11:43 -0400)
committerDerrick Brashear <shadow@dementix.org>
Sat, 5 Nov 2011 17:44:17 +0000 (10:44 -0700)
commitb06c700ee40ca70ef08259af819e2a6084137457
treefbbb8415361419d7c7f6174be8f9841d956f3ad2
parentc96d3429f2d4ad2ec7ac45a83c1111dc60a0d5c1
ukernel: handle pioctl errors properly in ktc

the straight return from call_syscall isn't what we want. munge so
e.g. EDOM handling for ktc_GetToken does the right thing.

Change-Id: I3fbba799e0156bad29b27c74a1c7709ee8c50c34
Reviewed-on: http://gerrit.openafs.org/5807
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/auth/ktc.c