openhub.net
Black Duck Software, Inc.
Open Hub
Follow @
OH
Sign In
Join Now
Projects
People
Organizations
Tools
Blog
BDSA
Projects
People
Projects
Organizations
V
virgo-linux-github-code
Settings
|
Report Duplicate
0
I Use This!
×
Login Required
Log in to Open Hub
Remember Me
Activity Not Available
Commits
: Listings
Analyzed
4 months
ago. based on code collected
4 months
ago.
Jul 20, 2025 — Jul 20, 2026
Showing page 16 of 28
Search / Filter on:
Commit Message
Contributor
Files Modified
Lines Added
Lines Removed
Code Location
Date
Tried almost all options in copy_from_user(): - __copy_from_user() that bypasses checks - direct memcpy() - with explicit void* cast - various sizeof() args etc., with numerous rebuilds and every time the copy from __user pointer fails and vaddr is set to ffffffff always.There seems to be something not obvious and abnormal going on. Interestingly even after commenting copy_from_user() the kernel memory gets corrupted though virgo_unique_id_to_addr() correctly scans and prints the cast address. (vaddr gets set to ffffffff in printk() somehow out of nowhere). This happens irrespective of allocating the kernel buffer from stack or with kmalloc(). At present invoking both copy_from_user() and memcpy which both do not work. Though const pointer could have been used, above should have worked. Ongoing bugfix.
ka_shrinivaasan
More...
about 13 years ago
Changed VIRGO Unique ID type to unsigned long to match with typedef uintptr_t for C99 pointer type. Kernel (3.7.8) seems to have typedef only of uintptr_t and not intptr_t.
ka_shrinivaasan
More...
about 13 years ago
Updated VIRGO Design Doc
ka_shrinivaasan
More...
about 13 years ago
kern.log for latest kernel re-(re-re-re...)-build that still shows junk after copy_from_user() in virgo_set() syscall.
ka_shrinivaasan
More...
about 13 years ago
Updated test_virgo_malloc.c virgo_set() syscall invocation with char array and strcpy()
ka_shrinivaasan
More...
about 13 years ago
Miscellaneous cast related fixes. copy_from_user() return type is set to long. More printk() added to investigate why the vaddr and data get junk values after copy_from_user() which should have worked correctly as this is the convention in most of the linux drivers. Also set the length of bytes to BUF_SIZE-1 in copy_from_user()
ka_shrinivaasan
More...
about 13 years ago
Updated virgo_cloud_set() with kmalloc() for kernel buffer for copying from user data_in pointer. Also modified copy_from_user() to copy BUF_SIZE-10 bytes.
ka_shrinivaasan
More...
about 13 years ago
Ongoing bugfix for virgo_cloud_set() Kernel Panic. Allocated the destination data instead of pointer before copy_from_user(). Added more printk() for debug info. copy_to_user() for Virgo Unique ID is working.
ka_shrinivaasan
More...
about 13 years ago
Kern.log debug printks with test_virgo_malloc, after signature changes done in virgo mempool syscalls for copy_from_user() and copy_to_user()
ka_shrinivaasan
More...
about 13 years ago
test_virgo_malloc client side test output after virgo mempool syscall signature changes for doing copy_from_user() and copy_to_user() in the syscall args.
ka_shrinivaasan
More...
about 13 years ago
Updated test_virgo_malloc testcase with changed signature of virgo_malloc() syscall that gets the VIRGO unique id from copy_to_user() within syscall. Corresponding test logs are also being added to repository with datestamp 28October2013
ka_shrinivaasan
More...
about 13 years ago
Updated VIRGO Design Doc
ka_shrinivaasan
More...
about 13 years ago
Updated VIRGO Design Doc
ka_shrinivaasan
More...
about 13 years ago
Updated all the function arg types to struct virgo_mempool_args* from void* as the virgo_cloud_mempool_kernelspace.ko module functions are directly invoked by virgo_cloudexec_mempool.ko without additional kthread creation in mempool_func()
ka_shrinivaasan
More...
about 13 years ago
Updated autogenerated Module.symvers
ka_shrinivaasan
More...
about 13 years ago
wrapped virgo_mempool_cmd kstrdup() before strcat as mempool_cmd was overwritten after strcat Also updated printk() to print mempool args for debug info
ka_shrinivaasan
More...
about 13 years ago
adding Kbuild to repository
ka_shrinivaasan
More...
about 13 years ago
Updated the signature of virgo_malloc() with added long long __user* vuid that will be copied with copy_to_user() and return types to long
ka_shrinivaasan
More...
about 13 years ago
Changed Function Pointer typedef. Changed virgo_cloud_mempool_xxxxx(void*) to directly accept virgo_cloud_mempool_xxxxx(virgo_mempool_args*)
ka_shrinivaasan
More...
about 13 years ago
Changed the return types of virgo mempool syscalls to long from long long. Added long long __user* vuid as an arg to virgo_malloc() so that VUID is copied from kernelspace to userspace using copy_to_user() without disturbing return type convention of long for syscalls.
ka_shrinivaasan
More...
about 13 years ago
Testcase for intptr datatype in C99. If this works in kernelspace,it can be used later for VIRGO Unique ID generation
ka_shrinivaasan
More...
about 13 years ago
Updated test_virgo_malloc testcase for changed virgo mempool syscall signatures
ka_shrinivaasan
More...
about 13 years ago
Updated VIRGO design doc
ka_shrinivaasan
More...
about 13 years ago
Updated VIRGO mempool syscalls for VIRGO unique id args and __user userspace pointers for sending to and receiving data from kernel with copy_from_user() and copy_to_user()
ka_shrinivaasan
More...
about 13 years ago
Significant rewrite of virgo mempool syscalls with signature changes for an added __user space pointer argument for doing copy_from_user() and copy_to_user() from and to the userspace pointer which is a cleaner way to get and set the userspace address from kernelspace. Also the header file syscalls.h has been updated with latest prototype for mempool syscalls. Two new functions have been added to map the virgo address to a unique id and viceversa to abstract the hardware addresses from the userspace code. Thus user programs would only see a UVID (unique virgo identifier) for an address entry chunk allocated on the cloud.
ka_shrinivaasan
More...
about 13 years ago
Two new functions for mapping a unique identifier to a virgo address on the cloud and viceversa necessary for abstracting hardware addresses to userspace.
ka_shrinivaasan
More...
about 13 years ago
Updated VIRGO Design Doc
ka_shrinivaasan
More...
about 13 years ago
test_virgo_malloc.c output with long long
ka_shrinivaasan
More...
about 13 years ago
Updated test_virgo_malloc binary
ka_shrinivaasan
More...
about 13 years ago
Updated test_virgo_malloc with long long
ka_shrinivaasan
More...
about 13 years ago
←
1
2
…
12
13
14
15
16
17
18
19
20
…
27
28
→
This site uses cookies to give you the best possible experience. By using the site, you consent to our use of cookies. For more information, please see our
Privacy Policy
Agree