Thread (28 messages) 28 messages, 6 authors, 2019-01-08

Re: [PATCH net 1/2] ptp: check that rsv field is zero in struct ptp_sys_offset_extended

From: David Miller <davem@davemloft.net>
Date: 2019-01-07 16:29:40

From: Eugene Syromiatnikov <redacted>
Date: Mon, 7 Jan 2019 16:22:29 +0100
Otherwise it is impossible to use it for something else, as it will break
userspace that puts garbage there.

The same check should be done in other structures, but the fact that
data in reserved fields is ignored is already part of the kernel ABI.

Signed-off-by: Eugene Syromiatnikov <redacted>
I think the opportunity to enforce this has passed and you will break
userspace by doing this.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help