- Oct 13, 2013
-
-
Avi Kivity authored
Needed by MNTTAB.
-
Avi Kivity authored
Fixed MAXPATHLEN Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Needed by libzfs. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
'make mgmt=0' will skip building the management code. It is up to the developer to ensure that a previously built tree is in place. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
- Oct 11, 2013
-
-
Tomasz Grabiec authored
This also requires fixing paths to mgmt jars in build.mk and usr.manifest as the version scheme has changed. git log --format=short 7a4db4e759b..54f4810a7: commit 54f4810a76fabf955aeea34baefa336abf8b8467 Author: Tomasz Grabiec <tgrabiec@cloudius-systems.com> Revert "supporting artifactory publish" commit 4abf771d146d6cde66f330e6b6ab6ececffb4cdd Author: Tomasz Grabiec <tgrabiec@cloudius-systems.com> mgmt/web: ditch jline-2.7 pulled by jruby-core commit 3863a3b58b661cd751314966cccb0f6c9835ed4a Author: Nadav Har'El <nyh@cloudius-systems.com> Moved RunJava to io.osv namespace commit be0717595f45d647062e7a41cc8dd38393c96547 Author: Ronen Narkis <narkisr@gmail.com> supporting testing (jruby rake test does not work no matter what) commit 46e74f6bb886a0c62b06f08559fe2e44efdb8900 Author: Ronen Narkis <narkisr@gmail.com> ignoring build commit 95ff3b70bae877d5d8cf0144853d1a201a0be333 Author: Ronen Narkis <narkisr@gmail.com> verfying json existence and giving meaning full error commit 8b60c4a40aa4bcb7ce08bba600fd9cd6d63e1073 Author: Ronen Narkis <narkisr@gmail.com> moving to three digit versioning in order to have a finer grained control on rel commit ffa7646388cec8d5b138ff4fc28a985c6344824c Author: Ronen Narkis <narkisr@gmail.com> supporting artifactory publish commit 8855112e2c867b4f855ed28ad9d9982c26bc56a3 Author: Ronen Narkis <narkisr@gmail.com> clearing unused repo commit 3be79eb18b2be7bf1f28aaebd9905ac77945e4e4 Author: Or Cohen <orc@fewbytes.com> Migrated ifconfig from previous JS console commit 287b014cf709e9c46692c59f87b70ebf056114b5 Author: Or Cohen <orc@fewbytes.com> Migrated run command from previous CLI commit 0ffe064d30c1a812d7e853ee568ce45bfc16ed42 Author: Or Cohen <orc@fewbytes.com> Added daemonizeIfNeeded helper method for commands commit 36951a86493c954a2e939648b5060260fac5b539 Author: Or Cohen <orc@fewbytes.com> Moved ELFLoader from cloudius.cli to cloudius.util
-
Pekka Enberg authored
As of commit a449b889 ("x64: Enable sleeping in fault context") it's now safe for another thread to enter a fault handler on the same CPU. Fix exception guard to reflect that. This is needed for demand paging where a page fault from another thread can happen on the same CPU where a thread is sleeping in the page fault handler. Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Dinakar Guniguntala authored
Noticed a minor bug in the OSv dlfcn implementation. According to the linux man pages, dladdr returns non-zero on success and zero on error -> http://linux.die.net/man/3/dladdr Signed-off-by:
Dinakar Guniguntala <dino@linux.vnet.ibm.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Oct 10, 2013
-
-
Avi Kivity authored
We want to tweak the include order for solaris (solaris -> bsd -> osv) compared to osv (osv -> bsd) or bsd (bsd -> osv), so put these includes in their own variable which can be nulled out. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Add some required solaris types. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
We have _KERNEL defines scattered throughout the code, which makes understanding it difficult. Define it just once, and adjust the source to build. We define it in an overridable variable, so that non-kernel imported code can undo it.
-
Avi Kivity authored
Imported from FreeBSD 245655, no changes. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Import FreeBSD files, changeset 245655. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Imported with no change from FreeBSD 245655. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Imported with no change from FreeBSD 245655. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
vfs mount/unmount related functionality. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Iterate over all inodes, droping directory entries and vnodes belonging to the mount point. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
In order to unmount, we need to drop all vnodes on a mount point, so we need to find all directory entries pointing to them. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Similar to /etc/mnttab, but without going through the file system. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
nmount() is a mount variant that works with key/value pairs to provide options. Implement it for osv. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
zfs interprets the device parameter as a pool name, so don't insist on opening it as a device. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Partition table fixes. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
The partition offset can be > 32 bits, so allow for it in the calculation. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
head=254 is legal, and the check also assumes that heads=255, which is not a given. Remove the check and trust the LBA. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Partitions table entries with cyl=0 or head=0 are legal, avoid false positives. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Some vfs fixes needed for mkfs; already posted as part of the mkfs patchset. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Needed by libzfs. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
open()'s prototype is traditionally open(const char*, int, ...) since the third mode_t parameter is optional, and only needed if O_CREAT is specified. Change the definition to conform. This allows the LFS64() macro to be used to define open64() with a similar prototype. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Make vget() accept a const char*, and adjust various other functions that it calls in the same way. This makes it easier to convert vfs_mount.c to C++. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
For zfs. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
We store the flags in a different format than fcntl() expects; perform the needed conversions. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
The vfs converts the read/write flags from 0/1/2 (read-only/write-only/rw) to bit fields which are more easily testable. But in doing so it corrupts the other flags. Fix FFLAGS and OFLAGS to preserve those other flags. The test for a file that is not readable or writable is dropped, since it is impossible to fail. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-