Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions os/linux/rt_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -1134,6 +1134,10 @@ static inline void __RtmpOSFSInfoChange(OS_FS_INFO * pOSFSInfo,
pOSFSInfo->fsuid = current->fsuid;
pOSFSInfo->fsgid = current->fsgid;
current->fsuid = current->fsgid = 0;
#endif
#if LINUX_VERSION_CODE > KERNEL_VERSION(4,4,0)
pOSFSInfo->fsuid = current_fsuid().val;
pOSFSInfo->fsgid = current_fsgid().val;
#else
pOSFSInfo->fsuid = current_fsuid();
pOSFSInfo->fsgid = current_fsgid();
Expand Down
2 changes: 1 addition & 1 deletion sta/sta_cfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -4902,7 +4902,7 @@ VOID RTMPIoctlShow(
wrq->u.data.length = strlen(extra) + 1; /* 1: size of '\0' */
break;
case SHOW_DRVIER_VERION:
snprintf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
snprintf(extra, size, "Driver version-%s\n", STA_DRIVER_VERSION);
wrq->u.data.length = strlen(extra) + 1; /* 1: size of '\0' */
break;
#ifdef DOT11_N_SUPPORT
Expand Down
Binary file modified tools/bin2h
Binary file not shown.