Home | History | Annotate | Download | only in init

Lines Matching refs:open

2  * Copyright (C) 2008 The Android Open Source Project
119 fd = open("/dev/null", O_RDWR);
129 if ((fd = open(console_name, O_RDWR)) < 0) {
130 fd = open("/dev/null", O_RDWR);
588 open("/dev/hw_random", O_RDONLY | O_NOFOLLOW));
595 ERROR("Failed to open /dev/hw_random: %s\n", strerror(errno));
601 open("/dev/urandom", O_WRONLY | O_NOFOLLOW));
603 ERROR("Failed to open /dev/urandom: %s\n", strerror(errno));
655 fd = open(console_name, O_RDWR);
661 fd = open("/dev/tty0", O_WRONLY);
998 close(open("/dev/.booting", O_WRONLY | O_CREAT, 0000));