diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-06-28 16:55:08 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-06-28 16:55:08 -0400 |
| commit | 21dc2e6c6d552702736ad3603fe9b074654d3932 (patch) | |
| tree | 90f3ef090166756324097493ef05417217791684 /arch/um/os-Linux/drivers | |
| parent | b779157dd3db6199b50e7ad64678a1ceedbeebcf (diff) | |
| parent | da028d5e5463dabb6ede2f5e3f6cced1283988cc (diff) | |
Merge branch 'for-linus-4.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml
Pull UML updates from Richard Weinberger:
- remove hppfs ("HonePot ProcFS")
- initial support for musl libc
- uaccess cleanup
- random cleanups and bug fixes all over the place
* 'for-linus-4.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml: (21 commits)
um: Don't pollute kernel namespace with uapi
um: Include sys/types.h for makedev(), major(), minor()
um: Do not use stdin and stdout identifiers for struct members
um: Do not use __ptr_t type for stack_t's .ss pointer
um: Fix mconsole dependency
um: Handle tracehook_report_syscall_entry() result
um: Remove copy&paste code from init.h
um: Stop abusing __KERNEL__
um: Catch unprotected user memory access
um: Fix warning in setup_signal_stack_si()
um: Rework uaccess code
um: Add uaccess.h to ldt.c
um: Add uaccess.h to syscalls_64.c
um: Add asm/elf.h to vma.c
um: Cleanup mem_32/64.c headers
um: Remove hppfs
um: Move syscall() declaration into os.h
um: kernel: ksyms: Export symbol syscall() for fixing modpost issue
um/os-Linux: Use char[] for syscall_stub declarations
um: Use char[] for linker script address declarations
...
Diffstat (limited to 'arch/um/os-Linux/drivers')
| -rw-r--r-- | arch/um/os-Linux/drivers/tuntap_user.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/um/os-Linux/drivers/tuntap_user.c b/arch/um/os-Linux/drivers/tuntap_user.c index 14126d9176aa..c2e6e1dad876 100644 --- a/arch/um/os-Linux/drivers/tuntap_user.c +++ b/arch/um/os-Linux/drivers/tuntap_user.c | |||
| @@ -47,7 +47,7 @@ static void tuntap_del_addr(unsigned char *addr, unsigned char *netmask, | |||
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | struct tuntap_pre_exec_data { | 49 | struct tuntap_pre_exec_data { |
| 50 | int stdout; | 50 | int stdout_fd; |
| 51 | int close_me; | 51 | int close_me; |
| 52 | }; | 52 | }; |
| 53 | 53 | ||
| @@ -55,7 +55,7 @@ static void tuntap_pre_exec(void *arg) | |||
| 55 | { | 55 | { |
| 56 | struct tuntap_pre_exec_data *data = arg; | 56 | struct tuntap_pre_exec_data *data = arg; |
| 57 | 57 | ||
| 58 | dup2(data->stdout, 1); | 58 | dup2(data->stdout_fd, 1); |
| 59 | close(data->close_me); | 59 | close(data->close_me); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| @@ -74,7 +74,7 @@ static int tuntap_open_tramp(char *gate, int *fd_out, int me, int remote, | |||
| 74 | 74 | ||
| 75 | sprintf(version_buf, "%d", UML_NET_VERSION); | 75 | sprintf(version_buf, "%d", UML_NET_VERSION); |
| 76 | 76 | ||
| 77 | data.stdout = remote; | 77 | data.stdout_fd = remote; |
| 78 | data.close_me = me; | 78 | data.close_me = me; |
| 79 | 79 | ||
| 80 | pid = run_helper(tuntap_pre_exec, &data, argv); | 80 | pid = run_helper(tuntap_pre_exec, &data, argv); |
