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

fioctl retrieves wrong file address for ramfs #442

Open
GoogleCodeExporter opened this issue Nov 21, 2015 · 0 comments
Open

fioctl retrieves wrong file address for ramfs #442

GoogleCodeExporter opened this issue Nov 21, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. In conf/rootfs/ create files 'foo' and 'bar' with some data in both
2. Try `fioctl(fopen(file_name, "r"), 0, &file_addr));` for both 'foo' and 
'bar' files
3. Check the results in file_addr variable

What is the expected output? What do you see instead?
I see random values (often zeroes) that may vary in case of changing linkage 
options (RAM start, etc.)

Please use labels and text to provide additional information.

Original issue reported on code.google.com by Eldar.Abusalimov on 25 Jul 2012 at 1:47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant