Enable specific ioctl call for EP11 crypto card (s390)

The EP11 crypto card needs to make an ioctl call, which receives an
specific argument. This crypto card is for s390 only.

Signed-off-by: Eduardo Barretto <ebarretto@linux.vnet.ibm.com>
This commit is contained in:
Eduardo Barretto 2017-05-09 13:33:30 -03:00 committed by Damien Miller
parent 07f2c7f349
commit 8dc7d6b75a
1 changed files with 2 additions and 0 deletions

View File

@ -282,6 +282,8 @@ static const struct sock_filter preauth_insns[] = {
SC_ALLOW_ARG(__NR_ioctl, 1, ICARSAMODEXPO), SC_ALLOW_ARG(__NR_ioctl, 1, ICARSAMODEXPO),
SC_ALLOW_ARG(__NR_ioctl, 1, ICARSACRT), SC_ALLOW_ARG(__NR_ioctl, 1, ICARSACRT),
SC_ALLOW_ARG(__NR_ioctl, 1, ZSECSENDCPRB), SC_ALLOW_ARG(__NR_ioctl, 1, ZSECSENDCPRB),
/* Allow ioctls for EP11 crypto card on s390 */
SC_ALLOW_ARG(__NR_ioctl, 1, ZSENDEP11CPRB),
#endif #endif
#if defined(__x86_64__) && defined(__ILP32__) && defined(__X32_SYSCALL_BIT) #if defined(__x86_64__) && defined(__ILP32__) && defined(__X32_SYSCALL_BIT)
/* /*