Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg/zfs should be cgo free #278

Open
mmlb opened this issue Jul 13, 2016 · 0 comments
Open

pkg/zfs should be cgo free #278

mmlb opened this issue Jul 13, 2016 · 0 comments
Labels

Comments

@mmlb
Copy link
Member

mmlb commented Jul 13, 2016

Issue Description

cgo is currently being used for 2 minor reasons.

  1. avoid embedded go pointers into syscall/kernel (the nvlist embedded in the zfs_cmd_t)
  2. make use of ioctl, pkg syscall doesn't provide ioctl so we would have to use syscall.Syscall

Acceptance Criteria (how do we know when this is done?)

no use of cgo in pkg/zfs

@bbickerton bbickerton added the zfs label Jul 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants