Skip to content

Commit

Permalink
new(kmod):PPC64 fixes for ia32_syscall
Browse files Browse the repository at this point in the history
Signed-off-by: mdafsanhossain <[email protected]>
  • Loading branch information
mdafsanhossain committed Nov 27, 2023
1 parent ce886ba commit a347988
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions driver/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2144,6 +2144,9 @@ static inline bool kmod_in_ia32_syscall(void)
#elif defined(CONFIG_S390)
if (unlikely(task_thread_info(current)->flags & _TIF_31BIT))
return true;
#elif defined(CONFIG_PPC64)
if (unlikely(task_thread_info(current)->flags & _TIF_32BIT))
return true;
#endif /* CONFIG_X86_64 */
return false;
}
Expand Down
2 changes: 2 additions & 0 deletions userspace/libscap/engine/gvisor/parsers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ limitations under the License.
#include "../../driver/syscall_compat_aarch64.h"
#elif __s390x__
#include "../../driver/syscall_compat_s390x.h"
#elif __ppc64le__
#include "../../driver/syscall_compat_ppc64le.h"
#endif /* __x86_64__ */

#include <functional>
Expand Down

0 comments on commit a347988

Please sign in to comment.