linux_machdep.c (704547ce1ca56e1123048cd152ed4e468d41d703) linux_machdep.c (3b57ddb029daf225a8385dade491019269da82e8)
1/*-
2 * Copyright (c) 2013 Dmitry Chagin
3 * Copyright (c) 2004 Tim J. Robbins
4 * Copyright (c) 2002 Doug Rabson
5 * Copyright (c) 2000 Marcel Moolenaar
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 104 unchanged lines hidden (view full) ---

113 }
114 if (error == 0)
115 error = linux_common_execve(td, &eargs);
116 AUDIT_SYSCALL_EXIT(error == EJUSTRETURN ? 0 : error, td);
117 return (error);
118}
119
120int
1/*-
2 * Copyright (c) 2013 Dmitry Chagin
3 * Copyright (c) 2004 Tim J. Robbins
4 * Copyright (c) 2002 Doug Rabson
5 * Copyright (c) 2000 Marcel Moolenaar
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 104 unchanged lines hidden (view full) ---

113 }
114 if (error == 0)
115 error = linux_common_execve(td, &eargs);
116 AUDIT_SYSCALL_EXIT(error == EJUSTRETURN ? 0 : error, td);
117 return (error);
118}
119
120int
121linux_set_upcall_kse(struct thread *td, register_t stack)
121linux_set_upcall(struct thread *td, register_t stack)
122{
123
124 if (stack)
125 td->td_frame->tf_rsp = stack;
126
127 /*
128 * The newly created Linux thread returns
129 * to the user space by the same path that a parent does.

--- 214 unchanged lines hidden ---
122{
123
124 if (stack)
125 td->td_frame->tf_rsp = stack;
126
127 /*
128 * The newly created Linux thread returns
129 * to the user space by the same path that a parent does.

--- 214 unchanged lines hidden ---