We do our best to keep copyright headers up to date, yet git history provides better information on this subject and is more accurate than copyright headers.
16 lines
290 B
C
16 lines
290 B
C
/*
|
|
* Copyright (c) 2015-2018 The strace developers.
|
|
* All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1-or-later
|
|
*/
|
|
|
|
kernel_ulong_t
|
|
shuffle_scno(kernel_ulong_t scno)
|
|
{
|
|
if (current_personality == 0 && scno != (kernel_ulong_t) -1)
|
|
scno ^= __X32_SYSCALL_BIT;
|
|
|
|
return scno;
|
|
}
|