Glibc 2.34 ya isa tare da gyaran rauni, sabbin ayyuka don Linux da ƙari

Kwanan nan an sanar da sakin sabon sigar Glibc 2.34 wanda ke zuwa bayan watanni shida na haɓakawa kuma a cikinsa an yi canje -canje masu mahimmanci da yawa, daga ciki har da haɗa libpthread, libdl, libutil da ɗakunan karatu na libanl, kazalika da gyara kwari iri -iri wanda ɗayansu ya haifar da toshewa.

Ga waɗanda ba su san Glibc ba, yakamata su san menene ɗakin karatu na GNU C, wanda aka fi sani da glibc shine daidaitaccen ɗakin karatu na GNU C. A kan tsarin da ake amfani da shi, wannan ɗakin karatu na C cewa yana bayarwa da ayyana kiran tsarin da sauran ayyuka na asali, kusan dukkan shirye -shirye suna amfani da shi. 

Babban sabbin fasalulluka na Glibc 2.34

A cikin wannan sabon sigar na Glibc 2.34 wanda aka gabatar libpthread, libdl, libutil da libanl an haɗa su cikin babban ɗakin karatu, yin amfani da ayyukansa a aikace -aikace ba ya buƙatar ɗaure su da tutocin -lpthread, -ldl, -lutil, da -lanl.

Bugu da ƙari, an ambaci hakan an yi shirye -shirye don haɗa libreolv cikin libc, da abin da haɗin kai zai ba da damar ingantaccen tsarin sabunta glibc kuma zai sauƙaƙa aiwatar da lokacin gudu kuma an kuma ba da ɗakunan karatu na stub don dacewa da aikace -aikacen da aka gina tare da sigogin glibc na farko.

A ɓangaren canje -canjen da aka mayar da hankali kan Linux Glibc 2.34 yana nuna alamun Ƙarin ikon amfani da nau'in bit_ time_t 64 a cikin saiti wanda a gargajiyance yayi amfani da nau'in time_t 32 bit. Wannan fasalin yana samuwa ne kawai akan tsarin da kernel 5.1 kuma mafi girma.

Wani takamaiman canji don Linux shine aiwatar da aikin aiwatarwa, cewa yana ba da damar gudanar da fayil ɗin da za a iya aiwatarwa daga mai bayanin fayil mai buɗewa. Hakanan ana amfani da sabon aikin a cikin aiwatar da kiran fexecve, wanda baya buƙatar a saka / proc pseudo-filesystem a farawa.

An kuma ƙara aikin close_range () wanda yake don sigar Linux 5.9 kuma mafi girma kuma wanda zai iya zama amfani da shi don ba da izinin tsari don rufe cikakken kewayon masu bayanin fayil bude a lokaci guda, ban da glibc.pthread.stack_cache_size sigar da ake aiwatarwa, wanda za a iya amfani da shi don daidaita girman ma'aunin tari.

A gefe guda, Ƙara aikin _Fork, maye don aiki Cokali mai yatsa wanda ya cika buƙatun "async-signal-safe", ma'ana ana iya kiransa lafiya daga masu sarrafa sigina. A lokacin aiwatar da _Fork, an samar da ƙaramin yanayi, isa ya kira ayyuka a cikin masu sarrafa sigina kamar ɗagawa da aiwatarwa, ba tare da kiran fasalin da zai iya canza makulli ko yanayin ciki ba.

Ga ɓangaren raunin da ke cikin Glibc 2.34, an ambaci waɗannan:

BAKU-2021-27645: Tsarin nscd (sunan uwar garken sunan caching daemon) ya gaza saboda kiran sau biyu zuwa aikin kyauta yayin aiwatar da buƙatun ƙungiyar cibiyar sadarwa ta musamman.

BAKU-2021-33574: samun damar yankin ƙwaƙwalwar ajiya da aka riga aka 'yantar (amfani-bayan-kyauta) a cikin aikin mq_notify lokacin amfani da nau'in sanarwar SIGEV_THREAD tare da sifar zaren wanda aka saita madadin abin rufe fuska na CPU. Matsalar na iya haifar da hadari, amma ba a cire sauran zaɓin harin ba.

BAKU-2021-35942: Girman ma'aunin ma'auni a cikin aikin wordexp na iya rushe aikace -aikacen.

Na sauran canje-canje cewa tsaya a waje:

  • An ƙara aikin timespec_getres, wanda aka ayyana a cikin daftarin ma'aunin ISO C2X, kuma an ƙara aikin timespec_get tare da ƙarfin kama da aikin POSIX clock_getres.
  • A cikin fayil ɗin gconv-modules, ƙaramin saitin manyan gconv kawai ya rage, sauran kuma an koma da su zuwa ƙarin fayil ɗin gconv-modules-extra.conf da ke cikin gconv-modules.d directory.
  • An cire amfani da hanyoyin haɗi na alama don haɗa abubuwan raba abubuwan da ba za a iya shigarwa zuwa sigar Glibc ba. An shigar da waɗannan abubuwan yanzu kamar yadda yake (misali libc.so.6 yanzu fayil ne maimakon hanyar haɗi zuwa libc-2.34.so).
  • A kan Linux, ayyuka kamar shm_open da sem_open yanzu suna buƙatar tsarin fayil don ƙwaƙwalwar ajiya da aka ɗora akan maɗaurin / dev / shm.

Finalmente idan kuna sha'awar ƙarin sani game da shi na wannan sabon sigar, zaku iya bincika cikakkun bayanai a cikin mahaɗin mai zuwa.


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

Kasance na farko don yin sharhi

Bar tsokaci

Your email address ba za a buga.

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.

bool (gaskiya)