Develop and Download Open Source Software
Login
Create Account
Help
MY OSDN
Find Software
Magazine
Develop
Pastebin
Software
People
PersonalForge
Magazine
Wiki
OSDN
>
Find Software
>
CaitSith
CaitSith
Summary
Project Summary
Developer Dashboard
Project Reviews
Web Page
Developers
List of RSS Feeds
Statistics
History
Image Gallery
Search Keywords
News
Listed News
Help
Downloads
List of Releases
Help
Source Code
Guide
Browse SVN
Help
Wiki
FrontPage
Title index
Recent changes
Wiki Search
Help
Forums
List of Forums
Open Discussion (1)
Help (1)
Developers (1)
Help
Mailing Lists
list of ML
Help
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Help
Browse Subversion Repository
/
[caitsith]
/
trunk
/
caitsith-patch
/
security
/
caitsith
/
realpath.c
Diff of /trunk/caitsith-patch/security/caitsith/realpath.c
Parent Directory
|
Revision Log
|
Patch
revision
385
by
kumaneko
, Sat May 27 06:14:44 2023 UTC
revision
386
by
kumaneko
, Mon Nov 13 11:36:37 2023 UTC
#
Line 645
char *cs_get_exe(void)
Line 645
char *cs_get_exe(void)
645
/* Not using get_mm_exe_file() as it is not exported. */
/* Not using get_mm_exe_file() as it is not exported. */
646
rcu_read_lock();
rcu_read_lock();
647
exe_file = rcu_dereference(mm->exe_file);
exe_file = rcu_dereference(mm->exe_file);
648
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 7, 0)
649
if (exe_file && !get_file_rcu(&exe_file))
650
exe_file = NULL;
651
#else
652
if (exe_file && !get_file_rcu(exe_file))
if (exe_file && !get_file_rcu(exe_file))
653
exe_file = NULL;
exe_file = NULL;
654
#endif
655
rcu_read_unlock();
rcu_read_unlock();
656
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 1, 0)
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 1, 0)
657
exe_file = get_mm_exe_file(mm);
exe_file = get_mm_exe_file(mm);
Colored Diff
Long Colored Diff
Full Colored Diff
Unidiff
Context Diff
Side by Side
Legend:
Removed from v.385
changed lines
Added in v.386
Back to OSDN
">
Back to OSDN
ViewVC Help
Powered by
ViewVC 1.1.26