mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 07:33:46 +01:00
exporting fs_seg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8224 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ab08865ae1
commit
fbed04310e
@ -161,7 +161,7 @@ static void LDT_EntryToBytes( unsigned long *buffer, const struct modify_ldt_ldt
|
||||
}
|
||||
#endif
|
||||
|
||||
//void* fs_seg=0;
|
||||
void* fs_seg=0;
|
||||
|
||||
ldt_fs_t* Setup_LDT_Keeper(void)
|
||||
{
|
||||
@ -177,7 +177,7 @@ ldt_fs_t* Setup_LDT_Keeper(void)
|
||||
perror( "Cannot open /dev/zero for READ+WRITE. Check permissions! error: ");
|
||||
return NULL;
|
||||
}
|
||||
// fs_seg=
|
||||
fs_seg=
|
||||
ldt_fs->fs_seg = mmap(NULL, getpagesize(), PROT_READ | PROT_WRITE, MAP_PRIVATE,
|
||||
ldt_fs->fd, 0);
|
||||
if (ldt_fs->fs_seg == (void*)-1)
|
||||
|
Loading…
Reference in New Issue
Block a user