lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 1 Jul 2020 12:03:11 -0700
From:   Jakub Kicinski <>
To:     Edward Cree <>
Cc:     <>, <>,
Subject: Re: [PATCH net-next 01/15] sfc: support setting MTU even if not
 privileged to configure MAC fully

On Wed, 1 Jul 2020 15:51:25 +0100 Edward Cree wrote:
> Unprivileged functions (such as VFs) may set their MTU by use of the
>  'control' field of MC_CMD_SET_MAC_EXT, as used in efx_mcdi_set_mtu().
> If calling efx_ef10_mac_reconfigure() from efx_change_mtu(), the NIC
>  supports the above (SET_MAC_ENHANCED capability), and regular
>  efx_mcdi_set_mac() fails EPERM, then fall back to efx_mcdi_set_mtu().

Is there no way of checking the permission the function has before
issuing the firmware call?

Powered by blists - more mailing lists