Linux 4.7: Follow key_alloc API change 45/12345/2
authorAnders Kaseorg <andersk@mit.edu>
Tue, 26 Jul 2016 01:04:59 +0000 (21:04 -0400)
committerBenjamin Kaduk <kaduk@mit.edu>
Tue, 26 Jul 2016 16:56:22 +0000 (12:56 -0400)
commit83a0f2a9ef88e63fbd300fbb436c17ca80c245b4
tree161f655e17d275a497b8b366306be0e1422d1701
parentfa5af899319b69fa9542add78beca388521e3450
Linux 4.7: Follow key_alloc API change

Linux v4.7-rc1~124^2~2^2^2~9 adds an eighth optional argument
restrict_link.  The same commit adds a KEY_ALLOC_BYPASS_RESTRICTION
macro, which we test so we can avoid adding another configure test.

Change-Id: I83e27b54ba5711124dccaa41de7155be77054f47
Reviewed-on: https://gerrit.openafs.org/12345
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/afs/LINUX/osi_compat.h