mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-24 00:09:48 +08:00
parent
d1558f38f7
commit
af60212c0b
@ -1440,10 +1440,10 @@ unp_connect(struct socket *so, struct sockaddr *nam, struct thread *td)
|
|||||||
goto bad;
|
goto bad;
|
||||||
VFS_UNLOCK_GIANT(vfslocked);
|
VFS_UNLOCK_GIANT(vfslocked);
|
||||||
#else /* __rtems__ */
|
#else /* __rtems__ */
|
||||||
soun->sun_path[len] = '\0';
|
|
||||||
eval_flags = RTEMS_FS_FOLLOW_LINK;
|
eval_flags = RTEMS_FS_FOLLOW_LINK;
|
||||||
currentloc = rtems_filesystem_eval_path_start(&ctx,
|
currentloc = rtems_filesystem_eval_path_start_with_root_and_current(
|
||||||
&soun->sun_path[0], eval_flags);
|
&ctx, &soun->sun_path[0], (size_t)len, eval_flags,
|
||||||
|
&rtems_filesystem_root, &rtems_filesystem_current);
|
||||||
|
|
||||||
if (currentloc->handlers == &socketops) {
|
if (currentloc->handlers == &socketops) {
|
||||||
vp = currentloc->node_access;
|
vp = currentloc->node_access;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user