]> granicus.if.org Git - strace/commit
xlat: fix SOL_SOCKET fallback definition on alpha, hppa, mips, and sparc
authorEugene Syromyatnikov <evgsyr@gmail.com>
Fri, 20 Apr 2018 13:19:18 +0000 (15:19 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 28 Apr 2018 23:54:57 +0000 (23:54 +0000)
commitc23a79e5b99261d4d9c20293ef7543431f11df1d
tree101cf8a42c99c981524990553dbc64cb317ede5d
parent6dd265b961165a08b8d601c7ae693f64c4a6346f
xlat: fix SOL_SOCKET fallback definition on alpha, hppa, mips, and sparc

On these architectures, SOL_SOCKET is 0xffff and not 1.

* xlat/socketlayers.in [__alpha__ || __hppa__ || __mips__ || __sparc__]
(SOL_SOCKET): Define to 0xffff.

Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
xlat/socketlayers.in