Use TRINITY_PF_MAX instead of PF_MAX in syscalls/socket.c
Fix open() result check in check_tainted()
Avoid needless get_filename() calls in generate_pathname()
Fix double rand() in generate_pathname()

We take 90% chance two times in the "unmangled" path in
generate_pathname(); looks accidental to me.
move perf_event.h to include/

The perf header will be used also in a few other places beyond syscalls,
so move it to the include/ directory so that it is easily available.
msgrcv() and msgsnd() IPC_NOWAIT msgflg
ioctls/drm: add deprecated nouveau ioctls

nouveau has some deprecated ioctls that the kernel implements, but the
ioctl definitions are no longer available in the kernel headers.
ioctls/vhost: VHOST_SCSI_* ioctls