Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: cloudius-systems/osv

Tags

v0.57.0

Toggle v0.57.0's commit message
Releasing version v0.57.0

v0.56.0

Toggle v0.56.0's commit message
Releasing version v0.56.0

v0.55.0

Toggle v0.55.0's commit message
Releasing version v0.55.0

v0.54.0

Toggle v0.54.0's commit message
Releasing version v0.54.0

v0.53.0

Toggle v0.53.0's commit message
Releasing version v0.53.0

v0.52.0

Toggle v0.52.0's commit message
Releasing version v0.52.0

v0.51.0

Toggle v0.51.0's commit message
Release 0.51.0

v0.24

Toggle v0.24's commit message
VFS: fix expansion of symbolic links inside mounts

We had a bug processing symbolic links in a filesystem not mounted on /.
Since recently, scripts/build runs cpiod.so while the ZFS filesystem is
mounted on "/zfs/zfs", not "/", so this bug was exposed, and made
"build image=java-tests,openjdk8-fedora", for example, fail, while
trying to use a symbolic link which seemed to be set up correctly.

The problem was in the namei() function, which among other things expands
symbolic links while translating a pathname into a vnode. Internally,
namei() separates a full path like /zfs/zfs/usr/lib/jvm/java into a mount
point (/zfs/zfs) and node (/usr/lib/jvm/java), and looks up only the node
inside the file system. However, the *target* of the symbolic link is in
the context of the whole system, not necessarily inside this mountpoint.
The code forgot that the full path contains the mountpoint (/zfs/zfs) which
node does not, and when the mountpoint wasn't "/", it messed up some
calculations, and the result was botched up symbolic link translations,
and using the symbolic links inside a path failed.

Signed-off-by: Nadav Har'El <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>

v0.23

Toggle v0.23's commit message
apps: update to latest

Signed-off-by: Pekka Enberg <[email protected]>

v0.22

Toggle v0.22's commit message
README: fix outdated information

The information in README.md about the "img_format" make parameter is
outdated. The current build script always builds a qcow2 image, and it
can be converted by the scripts/convert script.

Signed-off-by: Nadav Har'El <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>