kern_exec.c (0e2a4d3aeb9ce0cb20ae710b958f8c86198dffd5) | kern_exec.c (a8d43c90af5122ecff75b55fbaf6d5806674411b) |
---|---|
1/* 2 * Copyright (c) 1993, David Greenman 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 1128 unchanged lines hidden (view full) --- 1137 */ 1138 if (vp->v_writecount) 1139 return (ETXTBSY); 1140 1141 /* 1142 * Call filesystem specific open routine (which does nothing in the 1143 * general case). 1144 */ | 1/* 2 * Copyright (c) 1993, David Greenman 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 1128 unchanged lines hidden (view full) --- 1137 */ 1138 if (vp->v_writecount) 1139 return (ETXTBSY); 1140 1141 /* 1142 * Call filesystem specific open routine (which does nothing in the 1143 * general case). 1144 */ |
1145 error = VOP_OPEN(vp, FREAD, td->td_ucred, td); | 1145 error = VOP_OPEN(vp, FREAD, td->td_ucred, td, -1); |
1146 return (error); 1147} 1148 1149/* 1150 * Exec handler registration 1151 */ 1152int 1153exec_register(execsw_arg) --- 55 unchanged lines hidden --- | 1146 return (error); 1147} 1148 1149/* 1150 * Exec handler registration 1151 */ 1152int 1153exec_register(execsw_arg) --- 55 unchanged lines hidden --- |