Changeset 102990 in vbox
- Timestamp:
- Jan 22, 2024 5:13:50 PM (15 months ago)
- svn:sync-xref-src-repo-rev:
- 161222
- Location:
- trunk/src/VBox/Additions
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c
r100268 r102990 1411 1411 } 1412 1412 else if (pParam->name[0] != 'd') 1413 strlcpy(&g_szLogGrp[0], pszValue, sizeof(g_szLogGrp));1413 RT_STRSCPY(&g_szLogGrp[0], pszValue, sizeof(g_szLogGrp)); 1414 1414 1415 1415 return 0; … … 1437 1437 } 1438 1438 else if (pParam->name[0] != 'd') 1439 strlcpy(&g_szLogFlags[0], pszValue, sizeof(g_szLogFlags));1439 RT_STRSCPY(&g_szLogFlags[0], pszValue, sizeof(g_szLogFlags)); 1440 1440 return 0; 1441 1441 } … … 1462 1462 } 1463 1463 else if (pParam->name[0] != 'd') 1464 strlcpy(&g_szLogDst[0], pszValue, sizeof(g_szLogDst));1464 RT_STRSCPY(&g_szLogDst[0], pszValue, sizeof(g_szLogDst)); 1465 1465 return 0; 1466 1466 } -
trunk/src/VBox/Additions/linux/drm/vbox_drv.h
r102874 r102990 539 539 void vbox_irq_fini(struct vbox_private *vbox); 540 540 void vbox_report_hotplug(struct vbox_private *vbox); 541 #if RTLNX_VER_MAX(5,15,0) && !RTLNX_RHEL_MAJ_PREREQ(9,1) && !RTLNX_SUSE_MAJ_PREREQ(15,5)542 541 irqreturn_t vbox_irq_handler(int irq, void *arg); 543 #endif544 542 545 543 /* vbox_hgsmi.c */ -
trunk/src/VBox/Additions/linux/sharedfolders/regops.c
r102874 r102990 3506 3506 3507 3507 /** file_operations::mmap wrapper for logging purposes. */ 3508 externint vbsf_reg_mmap(struct file *file, struct vm_area_struct *vma)3508 static int vbsf_reg_mmap(struct file *file, struct vm_area_struct *vma) 3509 3509 { 3510 3510 int rc; … … 3787 3787 3788 3788 # if RTLNX_VER_MIN(5,19,0) || RTLNX_RHEL_RANGE(9,3, 9,99) 3789 int vbsf_write_begin(struct file *file, struct address_space *mapping, loff_t pos,3789 static int vbsf_write_begin(struct file *file, struct address_space *mapping, loff_t pos, 3790 3790 unsigned len, struct page **pagep, void **fsdata) 3791 3791 { … … 3794 3794 } 3795 3795 # else 3796 int vbsf_write_begin(struct file *file, struct address_space *mapping, loff_t pos,3796 static int vbsf_write_begin(struct file *file, struct address_space *mapping, loff_t pos, 3797 3797 unsigned len, unsigned flags, struct page **pagep, void **fsdata) 3798 3798 { -
trunk/src/VBox/Additions/linux/sharedfolders/vfsmod.c
r101359 r102990 1409 1409 case Opt_iocharset: 1410 1410 case Opt_nls: 1411 strlcpy(info->nls_name, param->string, sizeof(info->nls_name));1411 RT_STRSCPY(info->nls_name, param->string, sizeof(info->nls_name)); 1412 1412 break; 1413 1413 case Opt_uid: … … 1470 1470 break; 1471 1471 case Opt_tag: 1472 strlcpy(info->szTag, param->string, sizeof(info->szTag));1472 RT_STRSCPY(info->szTag, param->string, sizeof(info->szTag)); 1473 1473 break; 1474 1474 default: … … 1529 1529 1530 1530 /* fc->source (the shared folder name) is set after vbsf_init_fs_ctx() */ 1531 strlcpy(info->name, fc->source, sizeof(info->name));1531 RT_STRSCPY(info->name, fc->source, sizeof(info->name)); 1532 1532 1533 1533 # if RTLNX_VER_MAX(5,3,0)
Note:
See TracChangeset
for help on using the changeset viewer.