linux_file.c revision 1.96.2.1 1 /* $NetBSD: linux_file.c,v 1.96.2.1 2008/05/10 23:48:55 wrstuden Exp $ */
2
3 /*-
4 * Copyright (c) 1995, 1998, 2008 The NetBSD Foundation, Inc.
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Frank van der Linden and Eric Haszlakiewicz.
9 *
10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions
12 * are met:
13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer.
15 * 2. Redistributions in binary form must reproduce the above copyright
16 * notice, this list of conditions and the following disclaimer in the
17 * documentation and/or other materials provided with the distribution.
18 *
19 * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 * POSSIBILITY OF SUCH DAMAGE.
30 */
31
32 /*
33 * Functions in multiarch:
34 * linux_sys_llseek : linux_llseek.c
35 */
36
37 #include <sys/cdefs.h>
38 __KERNEL_RCSID(0, "$NetBSD: linux_file.c,v 1.96.2.1 2008/05/10 23:48:55 wrstuden Exp $");
39
40 #include <sys/param.h>
41 #include <sys/systm.h>
42 #include <sys/namei.h>
43 #include <sys/proc.h>
44 #include <sys/file.h>
45 #include <sys/stat.h>
46 #include <sys/filedesc.h>
47 #include <sys/ioctl.h>
48 #include <sys/kernel.h>
49 #include <sys/mount.h>
50 #include <sys/malloc.h>
51 #include <sys/namei.h>
52 #include <sys/vnode.h>
53 #include <sys/tty.h>
54 #include <sys/socketvar.h>
55 #include <sys/conf.h>
56 #include <sys/pipe.h>
57
58 #include <sys/sa.h>
59 #include <sys/syscallargs.h>
60 #include <sys/vfs_syscalls.h>
61
62 #include <compat/linux/common/linux_types.h>
63 #include <compat/linux/common/linux_signal.h>
64 #include <compat/linux/common/linux_fcntl.h>
65 #include <compat/linux/common/linux_util.h>
66 #include <compat/linux/common/linux_machdep.h>
67 #include <compat/linux/common/linux_ipc.h>
68 #include <compat/linux/common/linux_sem.h>
69
70 #include <compat/linux/linux_syscallargs.h>
71
72 static int linux_to_bsd_ioflags(int);
73 static int bsd_to_linux_ioflags(int);
74 #ifndef __amd64__
75 static void bsd_to_linux_stat(struct stat *, struct linux_stat *);
76 #endif
77
78 conv_linux_flock(linux, flock)
79
80 /*
81 * Some file-related calls are handled here. The usual flag conversion
82 * an structure conversion is done, and alternate emul path searching.
83 */
84
85 /*
86 * The next two functions convert between the Linux and NetBSD values
87 * of the flags used in open(2) and fcntl(2).
88 */
89 static int
90 linux_to_bsd_ioflags(int lflags)
91 {
92 int res = 0;
93
94 res |= cvtto_bsd_mask(lflags, LINUX_O_WRONLY, O_WRONLY);
95 res |= cvtto_bsd_mask(lflags, LINUX_O_RDONLY, O_RDONLY);
96 res |= cvtto_bsd_mask(lflags, LINUX_O_RDWR, O_RDWR);
97 res |= cvtto_bsd_mask(lflags, LINUX_O_CREAT, O_CREAT);
98 res |= cvtto_bsd_mask(lflags, LINUX_O_EXCL, O_EXCL);
99 res |= cvtto_bsd_mask(lflags, LINUX_O_NOCTTY, O_NOCTTY);
100 res |= cvtto_bsd_mask(lflags, LINUX_O_TRUNC, O_TRUNC);
101 res |= cvtto_bsd_mask(lflags, LINUX_O_NDELAY, O_NDELAY);
102 res |= cvtto_bsd_mask(lflags, LINUX_O_SYNC, O_FSYNC);
103 res |= cvtto_bsd_mask(lflags, LINUX_FASYNC, O_ASYNC);
104 res |= cvtto_bsd_mask(lflags, LINUX_O_APPEND, O_APPEND);
105
106 return res;
107 }
108
109 static int
110 bsd_to_linux_ioflags(int bflags)
111 {
112 int res = 0;
113
114 res |= cvtto_linux_mask(bflags, O_WRONLY, LINUX_O_WRONLY);
115 res |= cvtto_linux_mask(bflags, O_RDONLY, LINUX_O_RDONLY);
116 res |= cvtto_linux_mask(bflags, O_RDWR, LINUX_O_RDWR);
117 res |= cvtto_linux_mask(bflags, O_CREAT, LINUX_O_CREAT);
118 res |= cvtto_linux_mask(bflags, O_EXCL, LINUX_O_EXCL);
119 res |= cvtto_linux_mask(bflags, O_NOCTTY, LINUX_O_NOCTTY);
120 res |= cvtto_linux_mask(bflags, O_TRUNC, LINUX_O_TRUNC);
121 res |= cvtto_linux_mask(bflags, O_NDELAY, LINUX_O_NDELAY);
122 res |= cvtto_linux_mask(bflags, O_FSYNC, LINUX_O_SYNC);
123 res |= cvtto_linux_mask(bflags, O_ASYNC, LINUX_FASYNC);
124 res |= cvtto_linux_mask(bflags, O_APPEND, LINUX_O_APPEND);
125
126 return res;
127 }
128
129 /*
130 * creat(2) is an obsolete function, but it's present as a Linux
131 * system call, so let's deal with it.
132 *
133 * Note: On the Alpha this doesn't really exist in Linux, but it's defined
134 * in syscalls.master anyway so this doesn't have to be special cased.
135 *
136 * Just call open(2) with the TRUNC, CREAT and WRONLY flags.
137 */
138 int
139 linux_sys_creat(struct lwp *l, const struct linux_sys_creat_args *uap, register_t *retval)
140 {
141 /* {
142 syscallarg(const char *) path;
143 syscallarg(int) mode;
144 } */
145 struct sys_open_args oa;
146
147 SCARG(&oa, path) = SCARG(uap, path);
148 SCARG(&oa, flags) = O_CREAT | O_TRUNC | O_WRONLY;
149 SCARG(&oa, mode) = SCARG(uap, mode);
150
151 return sys_open(l, &oa, retval);
152 }
153
154 /*
155 * open(2). Take care of the different flag values, and let the
156 * NetBSD syscall do the real work. See if this operation
157 * gives the current process a controlling terminal.
158 * (XXX is this necessary?)
159 */
160 int
161 linux_sys_open(struct lwp *l, const struct linux_sys_open_args *uap, register_t *retval)
162 {
163 /* {
164 syscallarg(const char *) path;
165 syscallarg(int) flags;
166 syscallarg(int) mode;
167 } */
168 struct proc *p = l->l_proc;
169 int error, fl;
170 struct sys_open_args boa;
171
172 fl = linux_to_bsd_ioflags(SCARG(uap, flags));
173
174 SCARG(&boa, path) = SCARG(uap, path);
175 SCARG(&boa, flags) = fl;
176 SCARG(&boa, mode) = SCARG(uap, mode);
177
178 if ((error = sys_open(l, &boa, retval)))
179 return error;
180
181 /*
182 * this bit from sunos_misc.c (and svr4_fcntl.c).
183 * If we are a session leader, and we don't have a controlling
184 * terminal yet, and the O_NOCTTY flag is not set, try to make
185 * this the controlling terminal.
186 */
187 if (!(fl & O_NOCTTY) && SESS_LEADER(p) && !(p->p_lflag & PL_CONTROLT)) {
188 file_t *fp;
189
190 fp = fd_getfile(*retval);
191
192 /* ignore any error, just give it a try */
193 if (fp != NULL) {
194 if (fp->f_type == DTYPE_VNODE) {
195 (fp->f_ops->fo_ioctl) (fp, TIOCSCTTY, NULL);
196 }
197 fd_putfile(*retval);
198 }
199 }
200 return 0;
201 }
202
203 /*
204 * Most actions in the fcntl() call are straightforward; simply
205 * pass control to the NetBSD system call. A few commands need
206 * conversions after the actual system call has done its work,
207 * because the flag values and lock structure are different.
208 */
209 int
210 linux_sys_fcntl(struct lwp *l, const struct linux_sys_fcntl_args *uap, register_t *retval)
211 {
212 /* {
213 syscallarg(int) fd;
214 syscallarg(int) cmd;
215 syscallarg(void *) arg;
216 } */
217 struct proc *p = l->l_proc;
218 int fd, cmd, error;
219 u_long val;
220 void *arg;
221 struct sys_fcntl_args fca;
222 file_t *fp;
223 struct vnode *vp;
224 struct vattr va;
225 long pgid;
226 struct pgrp *pgrp;
227 struct tty *tp;
228
229 fd = SCARG(uap, fd);
230 cmd = SCARG(uap, cmd);
231 arg = SCARG(uap, arg);
232
233 switch (cmd) {
234
235 case LINUX_F_DUPFD:
236 cmd = F_DUPFD;
237 break;
238
239 case LINUX_F_GETFD:
240 cmd = F_GETFD;
241 break;
242
243 case LINUX_F_SETFD:
244 cmd = F_SETFD;
245 break;
246
247 case LINUX_F_GETFL:
248 SCARG(&fca, fd) = fd;
249 SCARG(&fca, cmd) = F_GETFL;
250 SCARG(&fca, arg) = arg;
251 if ((error = sys_fcntl(l, &fca, retval)))
252 return error;
253 retval[0] = bsd_to_linux_ioflags(retval[0]);
254 return 0;
255
256 case LINUX_F_SETFL: {
257 file_t *fp1 = NULL;
258
259 val = linux_to_bsd_ioflags((unsigned long)SCARG(uap, arg));
260 /*
261 * Linux seems to have same semantics for sending SIGIO to the
262 * read side of socket, but slightly different semantics
263 * for SIGIO to the write side. Rather than sending the SIGIO
264 * every time it's possible to write (directly) more data, it
265 * only sends SIGIO if last write(2) failed due to insufficient
266 * memory to hold the data. This is compatible enough
267 * with NetBSD semantics to not do anything about the
268 * difference.
269 *
270 * Linux does NOT send SIGIO for pipes. Deal with socketpair
271 * ones and DTYPE_PIPE ones. For these, we don't set
272 * the underlying flags (we don't pass O_ASYNC flag down
273 * to sys_fcntl()), but set the FASYNC flag for file descriptor,
274 * so that F_GETFL would report the ASYNC i/o is on.
275 */
276 if (val & O_ASYNC) {
277 if (((fp1 = fd_getfile(fd)) == NULL))
278 return (EBADF);
279 if (((fp1->f_type == DTYPE_SOCKET) && fp1->f_data
280 && ((struct socket *)fp1->f_data)->so_state & SS_ISAPIPE)
281 || (fp1->f_type == DTYPE_PIPE))
282 val &= ~O_ASYNC;
283 else {
284 /* not a pipe, do not modify anything */
285 fd_putfile(fd);
286 fp1 = NULL;
287 }
288 }
289
290 SCARG(&fca, fd) = fd;
291 SCARG(&fca, cmd) = F_SETFL;
292 SCARG(&fca, arg) = (void *) val;
293
294 error = sys_fcntl(l, &fca, retval);
295
296 /* Now set the FASYNC flag for pipes */
297 if (fp1) {
298 if (!error) {
299 mutex_enter(&fp1->f_lock);
300 fp1->f_flag |= FASYNC;
301 mutex_exit(&fp1->f_lock);
302 }
303 fd_putfile(fd);
304 }
305
306 return (error);
307 }
308
309 case LINUX_F_GETLK:
310 do_linux_getlk(fd, cmd, arg, linux, flock);
311
312 case LINUX_F_SETLK:
313 case LINUX_F_SETLKW:
314 do_linux_setlk(fd, cmd, arg, linux, flock, LINUX_F_SETLK);
315
316 case LINUX_F_SETOWN:
317 case LINUX_F_GETOWN:
318 /*
319 * We need to route fcntl() for tty descriptors around normal
320 * fcntl(), since NetBSD tty TIOC{G,S}PGRP semantics is too
321 * restrictive for Linux F_{G,S}ETOWN. For non-tty descriptors,
322 * this is not a problem.
323 */
324 if ((fp = fd_getfile(fd)) == NULL)
325 return EBADF;
326
327 /* Check it's a character device vnode */
328 if (fp->f_type != DTYPE_VNODE
329 || (vp = (struct vnode *)fp->f_data) == NULL
330 || vp->v_type != VCHR) {
331 fd_putfile(fd);
332
333 not_tty:
334 /* Not a tty, proceed with common fcntl() */
335 cmd = cmd == LINUX_F_SETOWN ? F_SETOWN : F_GETOWN;
336 break;
337 }
338
339 error = VOP_GETATTR(vp, &va, l->l_cred);
340
341 fd_putfile(fd);
342
343 if (error)
344 return error;
345
346 if ((tp = cdev_tty(va.va_rdev)) == NULL)
347 goto not_tty;
348
349 /* set tty pg_id appropriately */
350 mutex_enter(proc_lock);
351 if (cmd == LINUX_F_GETOWN) {
352 retval[0] = tp->t_pgrp ? tp->t_pgrp->pg_id : NO_PGID;
353 mutex_exit(proc_lock);
354 return 0;
355 }
356 if ((long)arg <= 0) {
357 pgid = -(long)arg;
358 } else {
359 struct proc *p1 = p_find((long)arg, PFIND_LOCKED | PFIND_UNLOCK_FAIL);
360 if (p1 == NULL)
361 return (ESRCH);
362 pgid = (long)p1->p_pgrp->pg_id;
363 }
364 pgrp = pg_find(pgid, PFIND_LOCKED);
365 if (pgrp == NULL || pgrp->pg_session != p->p_session) {
366 mutex_exit(proc_lock);
367 return EPERM;
368 }
369 tp->t_pgrp = pgrp;
370 mutex_exit(proc_lock);
371 return 0;
372
373 default:
374 return EOPNOTSUPP;
375 }
376
377 SCARG(&fca, fd) = fd;
378 SCARG(&fca, cmd) = cmd;
379 SCARG(&fca, arg) = arg;
380
381 return sys_fcntl(l, &fca, retval);
382 }
383
384 #if !defined(__amd64__)
385 /*
386 * Convert a NetBSD stat structure to a Linux stat structure.
387 * Only the order of the fields and the padding in the structure
388 * is different. linux_fakedev is a machine-dependent function
389 * which optionally converts device driver major/minor numbers
390 * (XXX horrible, but what can you do against code that compares
391 * things against constant major device numbers? sigh)
392 */
393 static void
394 bsd_to_linux_stat(struct stat *bsp, struct linux_stat *lsp)
395 {
396
397 lsp->lst_dev = linux_fakedev(bsp->st_dev, 0);
398 lsp->lst_ino = bsp->st_ino;
399 lsp->lst_mode = (linux_mode_t)bsp->st_mode;
400 if (bsp->st_nlink >= (1 << 15))
401 lsp->lst_nlink = (1 << 15) - 1;
402 else
403 lsp->lst_nlink = (linux_nlink_t)bsp->st_nlink;
404 lsp->lst_uid = bsp->st_uid;
405 lsp->lst_gid = bsp->st_gid;
406 lsp->lst_rdev = linux_fakedev(bsp->st_rdev, 1);
407 lsp->lst_size = bsp->st_size;
408 lsp->lst_blksize = bsp->st_blksize;
409 lsp->lst_blocks = bsp->st_blocks;
410 lsp->lst_atime = bsp->st_atime;
411 lsp->lst_mtime = bsp->st_mtime;
412 lsp->lst_ctime = bsp->st_ctime;
413 #ifdef LINUX_STAT_HAS_NSEC
414 lsp->lst_atime_nsec = bsp->st_atimensec;
415 lsp->lst_mtime_nsec = bsp->st_mtimensec;
416 lsp->lst_ctime_nsec = bsp->st_ctimensec;
417 #endif
418 }
419
420 /*
421 * The stat functions below are plain sailing. stat and lstat are handled
422 * by one function to avoid code duplication.
423 */
424 int
425 linux_sys_fstat(struct lwp *l, const struct linux_sys_fstat_args *uap, register_t *retval)
426 {
427 /* {
428 syscallarg(int) fd;
429 syscallarg(linux_stat *) sp;
430 } */
431 struct linux_stat tmplst;
432 struct stat tmpst;
433 int error;
434
435 error = do_sys_fstat(SCARG(uap, fd), &tmpst);
436 if (error != 0)
437 return error;
438 bsd_to_linux_stat(&tmpst, &tmplst);
439
440 return copyout(&tmplst, SCARG(uap, sp), sizeof tmplst);
441 }
442
443 static int
444 linux_stat1(const struct linux_sys_stat_args *uap, register_t *retval, int flags)
445 {
446 struct linux_stat tmplst;
447 struct stat tmpst;
448 int error;
449
450 error = do_sys_stat(SCARG(uap, path), flags, &tmpst);
451 if (error != 0)
452 return error;
453
454 bsd_to_linux_stat(&tmpst, &tmplst);
455
456 return copyout(&tmplst, SCARG(uap, sp), sizeof tmplst);
457 }
458
459 int
460 linux_sys_stat(struct lwp *l, const struct linux_sys_stat_args *uap, register_t *retval)
461 {
462 /* {
463 syscallarg(const char *) path;
464 syscallarg(struct linux_stat *) sp;
465 } */
466
467 return linux_stat1(uap, retval, FOLLOW);
468 }
469
470 /* Note: this is "newlstat" in the Linux sources */
471 /* (we don't bother with the old lstat currently) */
472 int
473 linux_sys_lstat(struct lwp *l, const struct linux_sys_lstat_args *uap, register_t *retval)
474 {
475 /* {
476 syscallarg(const char *) path;
477 syscallarg(struct linux_stat *) sp;
478 } */
479
480 return linux_stat1((const void *)uap, retval, NOFOLLOW);
481 }
482 #endif /* !__amd64__ */
483
484 /*
485 * The following syscalls are mostly here because of the alternate path check.
486 */
487 int
488 linux_sys_unlink(struct lwp *l, const struct linux_sys_unlink_args *uap, register_t *retval)
489 {
490 /* {
491 syscallarg(const char *) path;
492 } */
493 int error;
494 struct nameidata nd;
495
496 error = sys_unlink(l, (const void *)uap, retval);
497 if (error != EPERM)
498 return (error);
499
500 /*
501 * Linux returns EISDIR if unlink(2) is called on a directory.
502 * We return EPERM in such cases. To emulate correct behaviour,
503 * check if the path points to directory and return EISDIR if this
504 * is the case.
505 */
506 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | TRYEMULROOT, UIO_USERSPACE,
507 SCARG(uap, path));
508 if (namei(&nd) == 0) {
509 struct stat sb;
510
511 if (vn_stat(nd.ni_vp, &sb) == 0
512 && S_ISDIR(sb.st_mode))
513 error = EISDIR;
514
515 vput(nd.ni_vp);
516 }
517
518 return (error);
519 }
520
521 int
522 linux_sys_mknod(struct lwp *l, const struct linux_sys_mknod_args *uap, register_t *retval)
523 {
524 /* {
525 syscallarg(const char *) path;
526 syscallarg(int) mode;
527 syscallarg(int) dev;
528 } */
529
530 /*
531 * BSD handles FIFOs separately
532 */
533 if (S_ISFIFO(SCARG(uap, mode))) {
534 struct sys_mkfifo_args bma;
535
536 SCARG(&bma, path) = SCARG(uap, path);
537 SCARG(&bma, mode) = SCARG(uap, mode);
538 return sys_mkfifo(l, &bma, retval);
539 } else {
540 struct sys_mknod_args bma;
541
542 SCARG(&bma, path) = SCARG(uap, path);
543 SCARG(&bma, mode) = SCARG(uap, mode);
544 /*
545 * Linux device numbers uses 8 bits for minor and 8 bits
546 * for major. Due to how we map our major and minor,
547 * this just fits into our dev_t. Just mask off the
548 * upper 16bit to remove any random junk.
549 */
550 SCARG(&bma, dev) = SCARG(uap, dev) & 0xffff;
551 return sys_mknod(l, &bma, retval);
552 }
553 }
554
555 /*
556 * This is just fsync() for now (just as it is in the Linux kernel)
557 * Note: this is not implemented under Linux on Alpha and Arm
558 * but should still be defined in our syscalls.master.
559 * (syscall #148 on the arm)
560 */
561 int
562 linux_sys_fdatasync(struct lwp *l, const struct linux_sys_fdatasync_args *uap, register_t *retval)
563 {
564 /* {
565 syscallarg(int) fd;
566 } */
567
568 return sys_fsync(l, (const void *)uap, retval);
569 }
570
571 /*
572 * pread(2).
573 */
574 int
575 linux_sys_pread(struct lwp *l, const struct linux_sys_pread_args *uap, register_t *retval)
576 {
577 /* {
578 syscallarg(int) fd;
579 syscallarg(void *) buf;
580 syscallarg(size_t) nbyte;
581 syscallarg(linux_off_t) offset;
582 } */
583 struct sys_pread_args pra;
584
585 SCARG(&pra, fd) = SCARG(uap, fd);
586 SCARG(&pra, buf) = SCARG(uap, buf);
587 SCARG(&pra, nbyte) = SCARG(uap, nbyte);
588 SCARG(&pra, offset) = SCARG(uap, offset);
589
590 return sys_pread(l, &pra, retval);
591 }
592
593 /*
594 * pwrite(2).
595 */
596 int
597 linux_sys_pwrite(struct lwp *l, const struct linux_sys_pwrite_args *uap, register_t *retval)
598 {
599 /* {
600 syscallarg(int) fd;
601 syscallarg(void *) buf;
602 syscallarg(size_t) nbyte;
603 syscallarg(linux_off_t) offset;
604 } */
605 struct sys_pwrite_args pra;
606
607 SCARG(&pra, fd) = SCARG(uap, fd);
608 SCARG(&pra, buf) = SCARG(uap, buf);
609 SCARG(&pra, nbyte) = SCARG(uap, nbyte);
610 SCARG(&pra, offset) = SCARG(uap, offset);
611
612 return sys_pwrite(l, &pra, retval);
613 }
614
615 #define LINUX_NOT_SUPPORTED(fun) \
616 int \
617 fun(struct lwp *l, const struct fun##_args *uap, register_t *retval) \
618 { \
619 return EOPNOTSUPP; \
620 }
621
622 LINUX_NOT_SUPPORTED(linux_sys_setxattr)
623 LINUX_NOT_SUPPORTED(linux_sys_lsetxattr)
624 LINUX_NOT_SUPPORTED(linux_sys_fsetxattr)
625
626 LINUX_NOT_SUPPORTED(linux_sys_getxattr)
627 LINUX_NOT_SUPPORTED(linux_sys_lgetxattr)
628 LINUX_NOT_SUPPORTED(linux_sys_fgetxattr)
629
630 LINUX_NOT_SUPPORTED(linux_sys_listxattr)
631 LINUX_NOT_SUPPORTED(linux_sys_llistxattr)
632 LINUX_NOT_SUPPORTED(linux_sys_flistxattr)
633
634 LINUX_NOT_SUPPORTED(linux_sys_removexattr)
635 LINUX_NOT_SUPPORTED(linux_sys_lremovexattr)
636 LINUX_NOT_SUPPORTED(linux_sys_fremovexattr)
637
638