O_RDONLY          331 kernel/sysfile.c     if(ip->type == T_DIR && omode != O_RDONLY){
O_RDONLY           35 user/cat.c         if((fd = open(argv[i], O_RDONLY)) < 0){
O_RDONLY           55 user/grep.c        if((fd = open(argv[i], O_RDONLY)) < 0){
O_RDONLY           34 user/ls.c        if((fd = open(path, O_RDONLY)) < 0){
O_RDONLY          387 user/sh.c            cmd = redircmd(cmd, q, eq, O_RDONLY, 0);
O_RDONLY           41 user/stressfs.c   fd = open(path, O_RDONLY);
O_RDONLY           90 user/ulib.c      fd = open(n, O_RDONLY);
O_RDONLY          276 user/usertests.c   fd = open("README", O_RDONLY);
O_RDONLY          302 user/usertests.c   int fd2 = open("truncfile", O_RDONLY);
O_RDONLY          311 user/usertests.c   int fd3 = open("truncfile", O_RDONLY);
O_RDONLY          399 user/usertests.c       fd = open("truncfile", O_RDONLY);
O_RDONLY          563 user/usertests.c   fd = open("small", O_RDONLY);
O_RDONLY          602 user/usertests.c   fd = open("big", O_RDONLY);
O_RDONLY          717 user/usertests.c   fd = open("echo-ok", O_RDONLY);
O_RDONLY         1583 user/usertests.c   if(open("dd/dd/ff", O_RDONLY) >= 0){
O_RDONLY         1616 user/usertests.c   if(open("dd/dd/ff", O_RDONLY) >= 0){
O_RDONLY         2397 user/usertests.c   fd = open("init", O_RDONLY);
O_RDONLY           47 user/wc.c          if((fd = open(argv[i], O_RDONLY)) < 0){